|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.wadl.DocumentedInfo
public abstract class DocumentedInfo
Superclass of WADL elements that supports dcumentation.
Constructor Summary | |
---|---|
DocumentedInfo()
Constructor. |
|
DocumentedInfo(DocumentationInfo documentation)
Constructor with a single documentation element. |
|
DocumentedInfo(java.util.List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
DocumentedInfo(java.lang.String documentation)
Constructor with a single documentation element. |
Method Summary | |
---|---|
java.util.List<DocumentationInfo> |
getDocumentations()
Returns the list of documentation elements. |
java.util.Map<java.lang.String,java.lang.String> |
resolveNamespaces()
Returns the list of namespaces used in the documentation elements as a map. |
void |
setDocumentation(DocumentationInfo documentationInfo)
Set the list of documentation elements with a single element. |
void |
setDocumentation(java.lang.String documentation)
Set the list of documentation elements with a single element. |
void |
setDocumentations(java.util.List<DocumentationInfo> doc)
Sets the list of documentation elements. |
abstract void |
updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Completes the given map of namespaces with the namespaces used in the documentation elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentedInfo()
public DocumentedInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public DocumentedInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public DocumentedInfo(java.lang.String documentation)
documentation
- A single documentation element.Method Detail |
---|
public java.util.List<DocumentationInfo> getDocumentations()
public java.util.Map<java.lang.String,java.lang.String> resolveNamespaces()
public void setDocumentation(DocumentationInfo documentationInfo)
documentationInfo
- A single documentation element.public void setDocumentation(java.lang.String documentation)
documentation
- A single documentation element.public void setDocumentations(java.util.List<DocumentationInfo> doc)
doc
- The list of documentation elements.public abstract void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
namespaces
- The given map of namespaces to complete.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |