public class TextOverAttrInfo extends TextOverNodeInfo
nodeATTRIBUTE_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 and Description |
|---|
TextOverAttrInfo(AttrOverNodeInfo attr) |
| Modifier and Type | Method and 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".
|
appendData, deleteData, getData, getLength, getWholeText, insertData, replaceData, replaceWholeText, setData, splitText, substringDataappendChild, 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, wrapclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitappendChild, 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, setUserDatapublic TextOverAttrInfo(AttrOverNodeInfo attr)
public boolean isElementContentWhitespace()
Document.normalizeDocument().isElementContentWhitespace in interface org.w3c.dom.TextisElementContentWhitespace in class TextOverNodeInfopublic short getNodeType()
Type) are the same as those assigned in the DOMgetNodeType in interface org.w3c.dom.NodegetNodeType in class NodeOverNodeInfopublic short compareDocumentPosition(org.w3c.dom.Node other)
throws org.w3c.dom.DOMException
compareDocumentPosition in interface org.w3c.dom.NodecompareDocumentPosition in class NodeOverNodeInfoother - the other node.org.w3c.dom.DOMExceptionpublic org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.NodegetParentNode in class NodeOverNodeInfoCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.