gnu.xml.dom
public class DomText extends DomCharacterData implements Text
"Text" implementation.
Version: $Date: 2001/11/20 04:54:32 $
Constructor Summary | |
---|---|
protected | DomText(Document owner, String value)
Constructs a text node associated with the specified
document and holding the specified data.
|
protected | DomText(Document owner, char[] buf, int off, int len) |
Method Summary | |
---|---|
String | getNodeName()
DOM L1
Returns the string "#text". |
short | getNodeType()
DOM L1
Returns the constant TEXT_NODE. |
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). |
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.
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.