| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.xml.dom.DomNodegnu.xml.dom.DomCharacterDatagnu.xml.dom.DomTextConstructor Summary | |
| |
| |
Method Summary | |
String |
|
String | |
boolean | |
Text |
|
Text |
|
Methods inherited from class gnu.xml.dom.DomCharacterData | |
appendData, deleteData, getBaseURI, getData, getLength, getNodeValue, insertData, replaceData, setData, setNodeValue, substringData | |
protected DomText(DomDocument owner, String value)
Constructs a text node associated with the specified document and holding the specified data. This constructor should only be invoked by a Document object as part of its createTextNode functionality, or through a subclass which is similarly used in a "Sub-DOM" style layer.
public String getNodeName()
DOM L1 Returns the string "#text".
- Specified by:
- getNodeName in interface Node
- Overrides:
- getNodeName in interface DomNode
public boolean isElementContentWhitespace()
- Specified by:
- isElementContentWhitespace in interface Text
public Text replaceWholeText(String content) throws DOMException
- Specified by:
- replaceWholeText in interface Text