public class AttributeNode extends AbstractNode
| Constructor and Description |
|---|
AttributeNode(String name,
String value)
Creates a new
AttributeNode instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareOrder(net.sf.saxon.om.NodeInfo nodeInfo)
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.
|
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, copy, generateId, getBaseURI, getChildren, getConfiguration, getDeclaredNamespaces, getDepth, getDisplayName, getFingerprint, getPrefix, getPublicId, getSchemaType, 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 AttributeNode(String name, String value)
AttributeNode instance.name - name of the attributevalue - value of the attributepublic int compareOrder(net.sf.saxon.om.NodeInfo nodeInfo)
UnsupportedOperationException because functionality not required here.nodeInfo - another NodeInfo objectpublic String getAttributeValue(String namespace, String localPart)
UnsupportedOperationException because attribute node
has no attributes.namespace - namespacelocalPart - actual name of the attributepublic 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 String getStringValue()
getStringValue in interface net.sf.saxon.om.GroundedValue<net.sf.saxon.om.NodeInfo>getStringValue in interface net.sf.saxon.om.Item<net.sf.saxon.om.NodeInfo>getStringValue in interface net.sf.saxon.om.NodeInfogetStringValue in class AbstractNodepublic 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–2020. All rights reserved.