Package org.basex.api.dom
Class BXText
java.lang.Object
org.basex.api.dom.BXNode
org.basex.api.dom.BXText
- All Implemented Interfaces:
CharacterData,Node,Text
DOM - Text implementation.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendData(String arg) final voiddeleteData(int offset, int count) final StringgetData()final intfinal Stringfinal voidinsertData(int offset, String arg) booleanfinal voidreplaceData(int offset, int count, String arg) replaceWholeText(String value) final voidsplitText(int offset) final StringsubstringData(int offset, int count) Methods inherited from class org.basex.api.dom.BXNode
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from interface org.w3c.dom.Node
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
-
Method Details
-
getWholeText
- Specified by:
getWholeTextin interfaceText
-
isElementContentWhitespace
public boolean isElementContentWhitespace()- Specified by:
isElementContentWhitespacein interfaceText
-
replaceWholeText
- Specified by:
replaceWholeTextin interfaceText
-
splitText
-
getData
- Specified by:
getDatain interfaceCharacterData
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Overrides:
getNodeValuein classBXNode
-
getLength
public final int getLength()- Specified by:
getLengthin interfaceCharacterData
-
substringData
- Specified by:
substringDatain interfaceCharacterData
-
appendData
- Specified by:
appendDatain interfaceCharacterData
-
deleteData
public final void deleteData(int offset, int count) - Specified by:
deleteDatain interfaceCharacterData
-
insertData
- Specified by:
insertDatain interfaceCharacterData
-
replaceData
- Specified by:
replaceDatain interfaceCharacterData
-
setData
- Specified by:
setDatain interfaceCharacterData
-