Java org.w3c.dom Text fields, constructors, methods, implement or subclass

Example usage for Java org.w3c.dom Text fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.w3c.dom Text.

The text is from its open source code.

Implementation

org.w3c.dom.Text has the following implementations.
Click this link to see all its implementation.

Method

voidappendData(String arg)
Append the string to the end of the character data of the node.
voiddeleteData(int offset, int count)
Remove a range of 16-bit units from the node.
StringgetData()
The character data of the node that implements this interface.
NodegetFirstChild()
The first child of this node.
intgetLength()
The number of 16-bit units that are available through data and the substringData method below.
NodegetNextSibling()
The node immediately following this node.
StringgetNodeValue()
The value of this node, depending on its type; see the table above.
NodegetParentNode()
The parent of this node.
StringgetTextContent()
This attribute returns the text content of this node and its descendants.
StringgetWholeText()
Returns all text of Text nodes logically-adjacent text nodes to this node, concatenated in document order.
voidinsertData(int offset, String arg)
Insert a string at the specified 16-bit unit offset.
booleanisElementContentWhitespace()
Returns whether this text node contains element content whitespace, often abusively called "ignorable whitespace".
voidreplaceData(int offset, int count, String arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string.
TextreplaceWholeText(String content)
Replaces the text of the current node and all logically-adjacent text nodes with the specified text.
voidsetData(String data)
The character data of the node that implements this interface.
voidsetNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above.
TextsplitText(int offset)
Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.
StringsubstringData(int offset, int count)
Extracts a range of data from the node.