|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.wadl.DocumentedInfo
org.restlet.ext.wadl.ResourcesInfo
public class ResourcesInfo
Describes the root resources of an application.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Reference |
getBaseRef()
Returns the base URI for each child resource identifier. |
List<ResourceInfo> |
getResources()
Returns the list of child resources. |
void |
setBaseRef(Reference baseRef)
Sets the base URI for each child resource identifier. |
void |
setResources(List<ResourceInfo> resources)
Sets the list of child resources. |
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. |
| Methods inherited from class org.restlet.ext.wadl.DocumentedInfo |
|---|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public Reference getBaseRef()
public List<ResourceInfo> getResources()
public void setBaseRef(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)
DocumentedInfo
updateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.
public void writeElement(XmlWriter writer)
throws SAXException
writer - The SAX writer.
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||