public class ElementNode extends AbstractNode
| Constructor and Description |
|---|
ElementNode(AbstractNode root,
AbstractNode parent,
DetailAST detailAst)
Creates a new
ElementNode instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareOrder(net.sf.saxon.om.NodeInfo other)
Compares current object with specified for order.
|
String |
getAttributeValue(String namespace,
String localPart)
Returns attribute value.
|
int |
getColumnNumber()
Returns column number.
|
int |
getLineNumber()
Returns line number.
|
String |
getLocalPart()
Returns local part.
|
int |
getNodeKind()
Returns type of the node.
|
net.sf.saxon.om.NodeInfo |
getParent()
Returns parent.
|
net.sf.saxon.om.NodeInfo |
getRoot()
Returns root.
|
int |
getTokenType()
Getter method for token type.
|
DetailAST |
getUnderlyingNode()
Returns underlying node.
|
net.sf.saxon.tree.iter.AxisIterator |
iterateAxis(byte axisNumber)
Determines axis iteration algorithm.
|
addChild, atomize, copy, generateId, getBaseURI, getChildren, getConfiguration, getDeclaredNamespaces, getDepth, getDisplayName, getFingerprint, getPrefix, getPublicId, getSchemaType, getStringValue, getStringValueCS, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, saveLocation, setDepth, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, effectiveBooleanValue, materializeforEach, spliteratorpublic ElementNode(AbstractNode root, AbstractNode parent, DetailAST detailAst)
ElementNode instance.root - Node root of the treeparent - Node parent of the current nodedetailAst - reference to DetailASTpublic int compareOrder(net.sf.saxon.om.NodeInfo other)
other - another NodeInfo objectpublic String getAttributeValue(String namespace, String localPart)
UnsupportedOperationException in case,
when name of the attribute is not equal to 'text'.namespace - namespacelocalPart - actual name of the attributepublic String getLocalPart()
public int getNodeKind()
public net.sf.saxon.om.NodeInfo getParent()
public net.sf.saxon.om.NodeInfo getRoot()
public net.sf.saxon.tree.iter.AxisIterator iterateAxis(byte axisNumber)
UnsupportedOperationException in case,
when there is no axis iterator for given axisNumber.axisNumber - element from AxisInfoAxisIterator objectpublic int getLineNumber()
public int getColumnNumber()
public int getTokenType()
getTokenType in class AbstractNodepublic DetailAST getUnderlyingNode()
getUnderlyingNode in class AbstractNodeCopyright © 2001–2020. All rights reserved.