@Deprecated public class ApplicationInfo extends DocumentedInfo
| Constructor and Description |
|---|
ApplicationInfo()
Deprecated.
Constructor.
|
ApplicationInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
ApplicationInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
ApplicationInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
GrammarsInfo |
getGrammars()
Deprecated.
Returns the grammar elements.
|
java.util.List<MethodInfo> |
getMethods()
Deprecated.
Returns the list of method elements.
|
java.util.Map<java.lang.String,java.lang.String> |
getNamespaces()
Deprecated.
Returns the map of namespaces used in the WADL document.
|
java.util.List<RepresentationInfo> |
getRepresentations()
Deprecated.
Returns the list of representation elements.
|
ResourcesInfo |
getResources()
Deprecated.
Returns the resources root element.
|
java.util.List<ResourceTypeInfo> |
getResourceTypes()
Deprecated.
Returns the list of resource type elements.
|
void |
setGrammars(GrammarsInfo grammars)
Deprecated.
Sets the grammars element.
|
void |
setMethods(java.util.List<MethodInfo> methods)
Deprecated.
Sets the list of documentation elements.
|
void |
setNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.
Sets the map of namespaces used in the WADL document.
|
void |
setRepresentations(java.util.List<RepresentationInfo> representations)
Deprecated.
Sets the list of representation elements.
|
void |
setResources(ResourcesInfo resources)
Deprecated.
Sets the list of resource elements.
|
void |
setResourceTypes(java.util.List<ResourceTypeInfo> resourceTypes)
Deprecated.
Sets the list of resource type elements.
|
void |
updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
void |
writeElement(XmlWriter writer)
Deprecated.
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentationspublic ApplicationInfo()
public ApplicationInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ApplicationInfo(java.util.List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ApplicationInfo(java.lang.String documentation)
documentation - A single documentation element.public GrammarsInfo getGrammars()
public java.util.List<MethodInfo> getMethods()
public java.util.Map<java.lang.String,java.lang.String> getNamespaces()
public java.util.List<RepresentationInfo> getRepresentations()
public ResourcesInfo getResources()
public java.util.List<ResourceTypeInfo> getResourceTypes()
public void setGrammars(GrammarsInfo grammars)
grammars - The grammars element.public void setMethods(java.util.List<MethodInfo> methods)
methods - The list of method elements.public void setNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
namespaces - The map of namespaces used in the WADL document.public void setRepresentations(java.util.List<RepresentationInfo> representations)
representations - The list of representation elements.public void setResources(ResourcesInfo resources)
resources - The list of resource elements.public void setResourceTypes(java.util.List<ResourceTypeInfo> resourceTypes)
resourceTypes - The list of resource type elements.public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer - The SAX writer.org.xml.sax.SAXExceptionCopyright © 2005-2020 Restlet.