public class ResourcesInfo extends DocumentedInfo
| Constructor and Description |
|---|
ResourcesInfo()
Constructor.
|
ResourcesInfo(DocumentationInfo documentation)
Constructor with a single documentation element.
|
ResourcesInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements.
|
ResourcesInfo(String documentation)
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
org.restlet.data.Reference |
getBaseRef()
Returns the base URI for each child resource identifier.
|
List<ResourceInfo> |
getResources()
Returns the list of child resources.
|
void |
setBaseRef(org.restlet.data.Reference baseRef)
Sets the base URI for each child resource identifier.
|
void |
setResources(List<ResourceInfo> resources)
Sets the list of child resources.
|
String |
toString() |
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 ResourcesInfo()
public ResourcesInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ResourcesInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ResourcesInfo(String documentation)
documentation - A single documentation element.public org.restlet.data.Reference getBaseRef()
public List<ResourceInfo> getResources()
public void setBaseRef(org.restlet.data.Reference baseRef)
baseRef - The base URI for each child resource identifier.public void setResources(List<ResourceInfo> resources)
resources - The list of child resources.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.Copyright © 2011-2013. All Rights Reserved.