@Deprecated public class ResourceTypeInfo extends DocumentedInfo
| Constructor and Description |
|---|
ResourceTypeInfo()
Deprecated.
Constructor.
|
ResourceTypeInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
ResourceTypeInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
ResourceTypeInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdentifier()
Deprecated.
Returns the identifier for that element.
|
java.util.List<MethodInfo> |
getMethods()
Deprecated.
Returns the list of supported methods.
|
java.util.List<ParameterInfo> |
getParameters()
Deprecated.
Returns the list of parameters.
|
void |
setIdentifier(java.lang.String identifier)
Deprecated.
Sets the identifier for that element.
|
void |
setMethods(java.util.List<MethodInfo> methods)
Deprecated.
Sets the list of supported methods.
|
void |
setParameters(java.util.List<ParameterInfo> parameters)
Deprecated.
Sets the list of parameters.
|
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 ResourceTypeInfo()
public ResourceTypeInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ResourceTypeInfo(java.util.List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ResourceTypeInfo(java.lang.String documentation)
documentation - A single documentation element.public java.lang.String getIdentifier()
public java.util.List<MethodInfo> getMethods()
public java.util.List<ParameterInfo> getParameters()
public void setIdentifier(java.lang.String identifier)
identifier - The identifier for that element.public void setMethods(java.util.List<MethodInfo> methods)
methods - The list of supported methods.public void setParameters(java.util.List<ParameterInfo> parameters)
parameters - The list of parameters.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.