public class RootNode extends AbstractNode
| Constructor and Description |
|---|
RootNode(DetailAST detailAst)
Creates a new
RootNode instance. |
| Modifier and Type | Method and Description |
|---|---|
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 of the tree.
|
String |
getStringValue()
Returns string value.
|
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, compareOrder, comparePosition, copy, generateId, getBaseURI, getChildren, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getPrefix, getPublicId, getSchemaType, getStringValueCS, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, head, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterate, iterateAxis, saveLocation, setSystemIdpublic String getAttributeValue(String namespace, String localPart)
UnsupportedOperationException because root node
has no attributes.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 String getStringValue()
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–2018. All rights reserved.