public class Text extends Node
COMMENT_TYPE, DOCUMENT_TYPE, ELEMENT_TYPE, TEXT_TYPE
Constructor and Description |
---|
Text(String textValue)
Create a text node from the specified String.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Retrieves the text value.
|
void |
setValue(String textValue)
Sets the text value.
|
String |
toString()
Returns a String representation of the text node.
|
delete, findNearestCommonAncestor, getParent, getType, isAfter, isBefore, isBetween, isBetween, nextNode, nextNodeSibling, nextNonDescendantNode, previousNode, previousNodeSibling, typeToString