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_NODEnode| 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, setUserDataappendChild, cloneNode, disallowUpdate, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getTextContent, getUnderlyingNodeInfo, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendData, deleteData, getData, getLength, getWholeText, insertData, replaceData, replaceWholeText, setData, splitText, substringDatapublic TextOverAttrInfo(AttrOverNodeInfo attr)
public boolean isElementContentWhitespace()
Document.normalizeDocument().isElementContentWhitespace in class TextOverNodeInfopublic short getNodeType()
Type) are the same as those assigned in the DOMgetNodeType in class NodeOverNodeInfopublic short compareDocumentPosition(org.w3c.dom.Node other)
throws org.w3c.dom.DOMException
compareDocumentPosition in class NodeOverNodeInfoother - the other node.org.w3c.dom.DOMExceptionpublic org.w3c.dom.Node getParentNode()
getParentNode in class NodeOverNodeInfo