Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.xml.dom.DomNode
gnu.xml.dom.DomCharacterData
gnu.xml.dom.DomText
gnu.xml.dom.DomCDATA
You are strongly advised not to use CDATASection nodes. The advantage of having slightly prettier ways to print text that may have lots of embedded XML delimiters, such as "&" and "<", can be dwarfed by the cost of dealing with multiple kinds of text nodes in all your algorithms.
Constructor Summary | |
| |
|
Method Summary | |
String |
|
Methods inherited from class gnu.xml.dom.DomText | |
getNodeName , getWholeText , isElementContentWhitespace , replaceWholeText , splitText |
Methods inherited from class gnu.xml.dom.DomCharacterData | |
appendData , deleteData , getBaseURI , getData , getLength , getNodeValue , insertData , replaceData , setData , setNodeValue , substringData |
protected DomCDATA(DomDocument owner, String value)
Constructs a CDATA section node associated with the specified document and holding the specified data.This constructor should only be invoked by a Document as part of its createCDATASection functionality, or through a subclass which is similarly used in a "Sub-DOM" style layer.
public final String getNodeName()
DOM L1 Returns the string "#cdata-section".
- Specified by:
- getNodeName in interface Node
- Overrides:
- getNodeName in interface DomText