public class ResourceTypeInfo extends DocumentedInfo
| Constructor and Description |
|---|
ResourceTypeInfo()
Constructor.
|
ResourceTypeInfo(DocumentationInfo documentation)
Constructor with a single documentation element.
|
ResourceTypeInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements.
|
ResourceTypeInfo(String documentation)
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Returns the identifier for that element.
|
List<MethodInfo> |
getMethods()
Returns the list of supported methods.
|
List<ParameterInfo> |
getParameters()
Returns the list of parameters.
|
void |
setIdentifier(String identifier)
Sets the identifier for that element.
|
void |
setMethods(List<MethodInfo> methods)
Sets the list of supported methods.
|
void |
setParameters(List<ParameterInfo> parameters)
Sets the list of parameters.
|
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentationspublic ResourceTypeInfo()
public ResourceTypeInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ResourceTypeInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ResourceTypeInfo(String documentation)
documentation - A single documentation element.public String getIdentifier()
public List<MethodInfo> getMethods()
public List<ParameterInfo> getParameters()
public void setIdentifier(String identifier)
identifier - The identifier for that element.public void setMethods(List<MethodInfo> methods)
methods - The list of supported methods.public void setParameters(List<ParameterInfo> parameters)
parameters - The list of parameters.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws SAXException
writer - The SAX writer.SAXExceptionCopyright © 2005–2016. All rights reserved.