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 |
|---|---|
int |
compareOrder(net.sf.saxon.om.NodeInfo nodeInfo)
Compares current object with specified for order.
|
protected java.util.List<AbstractNode> |
createChildren()
Creates nodes for children.
|
java.lang.String |
getAttributeValue(java.lang.String namespace,
java.lang.String localPart)
Returns attribute value.
|
int |
getColumnNumber()
Returns column number.
|
int |
getDepth()
Getter method for node depth.
|
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.
|
boolean |
hasChildNodes()
Determine whether the node has any children.
|
net.sf.saxon.tree.iter.AxisIterator |
iterateAxis(int axisNumber)
Determines axis iteration algorithm.
|
atomize, copy, generateId, getAllNamespaces, getBaseURI, getChildren, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getPrefix, getPublicId, getSchemaType, getStringValueCS, getSystemId, getTreeInfo, getURI, hasFingerprint, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, saveLocation, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattributes, children, children, equals, getGenre, hashCode, toShortStringgetLength, head, itemAt, iterate, reduce, subsequence, toGroundedValuepublic AttributeNode(java.lang.String name, java.lang.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 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()
getStringValue in interface net.sf.saxon.om.GroundedValuegetStringValue in interface net.sf.saxon.om.ItemgetStringValue in interface net.sf.saxon.om.NodeInfogetStringValue in class AbstractNodepublic net.sf.saxon.tree.iter.AxisIterator iterateAxis(int 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 AbstractNodepublic int getDepth()
getDepth in class AbstractNodeprotected java.util.List<AbstractNode> createChildren()
createChildren in class AbstractNodepublic boolean hasChildNodes()
falseCopyright © 2001-2020. All Rights Reserved.