java.lang.Object | +--gnu.xml.dom.DomNode | +--gnu.xml.dom.DomCharacterData | +--gnu.xml.dom.DomTextAll Implemented Interfaces:
DomText(org.w3c.dom.Document owner, java.lang.String value) Constructs a text node associated with the specified document and holding the specified data. |
DomText(org.w3c.dom.Document owner, char buf[][] , int off, int len) |
java.lang.String | getNodeName() DOM L1 Returns the string "#text". |
short | getNodeType() DOM L1 Returns the constant TEXT_NODE. |
org.w3c.dom.Text | splitText(int offset) DOM L1 Splits this text node in two parts at the offset, returning the new text node (the sibling with the second part). |
protected DomText(org.w3c.dom.Document owner, char buf[][] , int off, int len)
Parameters:owner
-
- off
- len
- protected DomText(org.w3c.dom.Document owner, java.lang.String value)
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.
owner
- value
- public String getNodeName()
public short getNodeType()
public Text splitText(int offset)
offset
-
"Text" implementation.