Package com.jsevy.jxml
Class XMLText
- java.lang.Object
-
- com.jsevy.jxml.XMLNode
-
- com.jsevy.jxml.XMLCharacterData
-
- com.jsevy.jxml.XMLText
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.w3c.dom.CharacterData
,org.w3c.dom.Node
,org.w3c.dom.Text
- Direct Known Subclasses:
XMLCDATASection
public class XMLText extends XMLCharacterData implements org.w3c.dom.Text
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getNodeType()
java.lang.String
getTextContent()
java.lang.String
getWholeText()
boolean
isElementContentWhitespace()
org.w3c.dom.Text
replaceWholeText(java.lang.String content)
org.w3c.dom.Text
splitText(int offset)
-
Methods inherited from class com.jsevy.jxml.XMLCharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
-
Methods inherited from class com.jsevy.jxml.XMLNode
appendChild, clone, cloneNode, compareDocumentPosition, equals, getAttributes, getBaseURI, getChildNodes, getDescendants, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertAfter, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, 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, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interfaceorg.w3c.dom.Node
-
getTextContent
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
- Specified by:
getTextContent
in interfaceorg.w3c.dom.Node
- Throws:
org.w3c.dom.DOMException
-
splitText
public org.w3c.dom.Text splitText(int offset) throws org.w3c.dom.DOMException
- Specified by:
splitText
in interfaceorg.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
-
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespace
in interfaceorg.w3c.dom.Text
-
getWholeText
public java.lang.String getWholeText()
- Specified by:
getWholeText
in interfaceorg.w3c.dom.Text
-
replaceWholeText
public org.w3c.dom.Text replaceWholeText(java.lang.String content) throws org.w3c.dom.DOMException
- Specified by:
replaceWholeText
in interfaceorg.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
-
-