|
||||||||||
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.IncludeInfo
public class IncludeInfo
Allows inclusion of grammars by reference.
Constructor Summary | |
---|---|
IncludeInfo()
Constructor. |
|
IncludeInfo(DocumentationInfo documentation)
Constructor with a single documentation element. |
|
IncludeInfo(java.util.List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
IncludeInfo(java.lang.String documentation)
Constructor with a single documentation element. |
Method Summary | |
---|---|
Reference |
getTargetRef()
Returns the URI of the referenced definition. |
void |
setTargetRef(Reference href)
Sets the URI of the referenced definition. |
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. |
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 IncludeInfo()
public IncludeInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public IncludeInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public IncludeInfo(java.lang.String documentation)
documentation
- A single documentation element.Method Detail |
---|
public Reference getTargetRef()
public void setTargetRef(Reference href)
href
- The URI of the referenced definition.public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
DocumentedInfo
updateNamespaces
in class DocumentedInfo
namespaces
- The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |