@Deprecated public class ResourcesInfo extends DocumentedInfo
| Constructor and Description |
|---|
ResourcesInfo()
Deprecated.
Constructor.
|
ResourcesInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
ResourcesInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
ResourcesInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
Reference |
getBaseRef()
Deprecated.
Returns the base URI for each child resource identifier.
|
java.util.List<ResourceInfo> |
getResources()
Deprecated.
Returns the list of child resources.
|
void |
setBaseRef(Reference baseRef)
Deprecated.
Sets the base URI for each child resource identifier.
|
void |
setResources(java.util.List<ResourceInfo> resources)
Deprecated.
Sets the list of child resources.
|
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 ResourcesInfo()
public ResourcesInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ResourcesInfo(java.util.List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ResourcesInfo(java.lang.String documentation)
documentation - A single documentation element.public Reference getBaseRef()
public java.util.List<ResourceInfo> getResources()
public void setBaseRef(Reference baseRef)
baseRef - The base URI for each child resource identifier.public void setResources(java.util.List<ResourceInfo> resources)
resources - The list of child resources.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.