public class ApplicationInfo extends DocumentedInfo
| Constructor and Description |
|---|
ApplicationInfo()
Constructor.
|
ApplicationInfo(DocumentationInfo documentation)
Constructor with a single documentation element.
|
ApplicationInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements.
|
ApplicationInfo(String documentation)
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
List<MethodInfo> |
getMethods()
Returns the list of method elements.
|
Map<String,String> |
getNamespaces()
Returns the map of namespaces used in the WADL document.
|
List<RepresentationInfo> |
getRepresentations()
Returns the list of representation elements.
|
void |
setMethods(List<MethodInfo> methods)
Sets the list of documentation elements.
|
void |
setNamespaces(Map<String,String> namespaces)
Sets the map of namespaces used in the WADL document.
|
void |
setRepresentations(List<RepresentationInfo> representations) |
void |
setResources(ResourcesInfo resources)
Sets the list of resource elements.
|
String |
toString()
Describes a set of methods that define the behavior of a type of
resource.
|
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentationspublic ApplicationInfo()
public ApplicationInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ApplicationInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ApplicationInfo(String documentation)
documentation - A single documentation element.public String toString()
public List<MethodInfo> getMethods()
public Map<String,String> getNamespaces()
public List<RepresentationInfo> getRepresentations()
public void setResources(ResourcesInfo resources)
resources - The list of resource elements.public void setRepresentations(List<RepresentationInfo> representations)
public void setMethods(List<MethodInfo> methods)
methods - The list of method elements.public void setNamespaces(Map<String,String> namespaces)
namespaces - The map of namespaces used in the WADL document.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.Copyright © 2011-2013. All Rights Reserved.