public class BXText extends BXNode implements Text
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
void |
appendData(String value) |
void |
deleteData(int off,
int count) |
String |
getData() |
int |
getLength() |
String |
getNodeValue() |
String |
getWholeText() |
void |
insertData(int off,
String value) |
boolean |
isElementContentWhitespace() |
void |
replaceData(int off,
int count,
String value) |
BXText |
replaceWholeText(String value) |
void |
setData(String value) |
BXText |
splitText(int offset) |
String |
substringData(int off,
int count) |
appendChild, cloneNode, compareDocumentPosition, get, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public String getWholeText()
getWholeText
in interface Text
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
public BXText replaceWholeText(String value)
replaceWholeText
in interface Text
public final String getData()
getData
in interface CharacterData
public final String getNodeValue()
getNodeValue
in interface Node
getNodeValue
in class BXNode
public final int getLength()
getLength
in interface CharacterData
public final String substringData(int off, int count)
substringData
in interface CharacterData
public final void appendData(String value)
appendData
in interface CharacterData
public final void deleteData(int off, int count)
deleteData
in interface CharacterData
public final void insertData(int off, String value)
insertData
in interface CharacterData
public final void replaceData(int off, int count, String value)
replaceData
in interface CharacterData
public final void setData(String value)
setData
in interface CharacterData
Copyright © 2005–2015 BaseX Team. All rights reserved.