public class TextOverAttrInfo extends TextOverNodeInfo
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 and Description |
---|
TextOverAttrInfo(AttrOverNodeInfo attr) |
Modifier and Type | Method and Description |
---|---|
short |
compareDocumentPosition(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).
|
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, substringData
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
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
public TextOverAttrInfo(AttrOverNodeInfo attr)
public boolean isElementContentWhitespace()
Document.normalizeDocument()
.isElementContentWhitespace
in interface Text
isElementContentWhitespace
in class TextOverNodeInfo
public short getNodeType()
Type
) are the same as those assigned in the DOMgetNodeType
in interface Node
getNodeType
in class NodeOverNodeInfo
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
compareDocumentPosition
in class NodeOverNodeInfo
other
- the other node.DOMException
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class NodeOverNodeInfo
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.