Class XText
java.lang.Object
com.pnfsoftware.jeb.util.encoding.xml.XNode
com.pnfsoftware.jeb.util.encoding.xml.XCharacterData
com.pnfsoftware.jeb.util.encoding.xml.XText
- All Implemented Interfaces:
CharacterData
,Node
,Text
- Direct Known Subclasses:
XCDATASection
-
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort
boolean
replaceWholeText
(String content) splitText
(int offset) Methods inherited from class com.pnfsoftware.jeb.util.encoding.xml.XCharacterData
appendData, deleteData, getData, getLength, getNodeValue, insertData, replaceData, setData, substringData, toString
Methods inherited from class com.pnfsoftware.jeb.util.encoding.xml.XNode
appendChild, cloneNode, compareDocumentPosition, findNodeByName, getAttributes, getBaseURI, getChildNodes, getDescendantElementsByTagName, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, initChildren, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, ofType, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
XText
-
-
Method Details
-
getNodeType
public short getNodeType()- Specified by:
getNodeType
in interfaceNode
-
getNodeName
- Specified by:
getNodeName
in interfaceNode
-
splitText
- Specified by:
splitText
in interfaceText
- Throws:
DOMException
-
isElementContentWhitespace
public boolean isElementContentWhitespace()- Specified by:
isElementContentWhitespace
in interfaceText
-
getWholeText
- Specified by:
getWholeText
in interfaceText
-
replaceWholeText
- Specified by:
replaceWholeText
in interfaceText
- Throws:
DOMException
-