public class AttributeNode extends AbstractNode
| Constructor and Description |
|---|
AttributeNode(java.lang.String name,
java.lang.String value)
Creates a new
AttributeNode instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeValue(java.lang.String namespace,
java.lang.String localPart)
Returns attribute value.
|
int |
getColumnNumber()
Returns column number.
|
int |
getLineNumber()
Returns line number.
|
java.lang.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.
|
java.lang.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, copy, generateId, getBaseURI, getChildren, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getPrefix, getPublicId, getSchemaType, getStringValueCS, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, saveLocation, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, iterate, iterator, reduce, subsequence, toGroundedValuepublic AttributeNode(java.lang.String name, java.lang.String value)
AttributeNode instance.name - name of the attributevalue - value of the attributepublic java.lang.String getAttributeValue(java.lang.String namespace, java.lang.String localPart)
UnsupportedOperationException because attribute node
has no attributes.namespace - namespacelocalPart - actual name of the attributepublic java.lang.String getLocalPart()
public int getNodeKind()
public net.sf.saxon.om.NodeInfo getParent()
UnsupportedOperationException.
has no attributes.public net.sf.saxon.om.NodeInfo getRoot()
UnsupportedOperationException.public java.lang.String getStringValue()
public net.sf.saxon.tree.iter.AxisIterator iterateAxis(byte axisNumber)
UnsupportedOperationException.axisNumber - element from AxisInfoAxisIterator objectpublic int getLineNumber()
UnsupportedOperationException.public int getColumnNumber()
UnsupportedOperationException.public int getTokenType()
UnsupportedOperationException.getTokenType in class AbstractNodepublic DetailAST getUnderlyingNode()
UnsupportedOperationException.getUnderlyingNode in class AbstractNodeCopyright © 2001-2019. All Rights Reserved.