|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.wadl.DocumentationInfo
public class DocumentationInfo
Document WADL description elements.
Constructor Summary | |
---|---|
DocumentationInfo()
Constructor. |
|
DocumentationInfo(Node mixedContent)
Constructor with mixed content. |
|
DocumentationInfo(String textContent)
Constructor with text content. |
Method Summary | |
---|---|
Language |
getLanguage()
Returns the language of that documentation element. |
Node |
getMixedContent()
Returns the mixed content of that element. |
String |
getTextContent()
Returns the language of that documentation element. |
String |
getTitle()
Returns the title of that documentation element. |
void |
setLanguage(Language language)
The language of that documentation element. |
void |
setMixedContent(Node mixedContent)
Sets the mixed content of that element. |
void |
setTextContent(String textContent)
Sets the content of that element as text. |
void |
setTitle(String title)
Sets the title of that documentation element. |
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentationInfo()
public DocumentationInfo(Node mixedContent)
mixedContent
- The mixed content.public DocumentationInfo(String textContent)
textContent
- The text content.Method Detail |
---|
public Language getLanguage()
public Node getMixedContent()
public String getTextContent()
public String getTitle()
public void setLanguage(Language language)
language
- The language of that documentation element.public void setMixedContent(Node mixedContent)
mixedContent
- The mixed content of that element.public void setTextContent(String textContent)
textContent
- The content of that element as text.public void setTitle(String title)
title
- The title of that documentation element.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 |