org.w3c.dom.CharacterData
, org.w3c.dom.Comment
, org.w3c.dom.Node
, org.w3c.dom.Text
public class TextOverAttrInfo extends TextOverNodeInfo
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
node
Constructor | Description |
---|---|
TextOverAttrInfo(AttrOverNodeInfo attr) |
Modifier and Type | Method | Description |
---|---|---|
short |
compareDocumentPosition(org.w3c.dom.Node other) |
Compare the position of the (other) node in document order with the reference node (this node).
|
short |
getNodeType() |
Get the type of this node (node kind, in XPath terminology).
|
org.w3c.dom.Node |
getParentNode() |
Find the parent node of this node.
|
boolean |
isElementContentWhitespace() |
Returns whether this text node contains
element content whitespace, often abusively called "ignorable whitespace".
|
appendChild, cloneNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
appendChild, cloneNode, disallowUpdate, equals, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getTextContent, getUnderlyingNodeInfo, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrap
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
appendData, deleteData, getData, getLength, getWholeText, insertData, replaceData, replaceWholeText, setData, splitText, substringData
public TextOverAttrInfo(AttrOverNodeInfo attr)
public boolean isElementContentWhitespace()
Document.normalizeDocument()
.isElementContentWhitespace
in interface org.w3c.dom.Text
isElementContentWhitespace
in class TextOverNodeInfo
public short getNodeType()
Type
) are the same as those assigned in the DOMgetNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeOverNodeInfo
public short compareDocumentPosition(org.w3c.dom.Node other) throws org.w3c.dom.DOMException
compareDocumentPosition
in interface org.w3c.dom.Node
compareDocumentPosition
in class NodeOverNodeInfo
other
- the other node.org.w3c.dom.DOMException
public org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
getParentNode
in class NodeOverNodeInfo