public class DocumentationInfo extends Object
Constructor and Description |
---|
DocumentationInfo()
Constructor.
|
DocumentationInfo(Node mixedContent)
Constructor with mixed content.
|
DocumentationInfo(String textContent)
Constructor with text content.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public DocumentationInfo()
public DocumentationInfo(Node mixedContent)
mixedContent
- The mixed content.public DocumentationInfo(String textContent)
textContent
- The text content.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
Copyright © 2005–2019. All rights reserved.