public class AttributeNode extends AbstractNode
| Constructor and Description |
|---|
AttributeNode(String name,
String value)
Creates a new
AttributeNode 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.
|
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 AttributeNode(String name, String value)
AttributeNode instance.name - name of the attributevalue - value of the attributepublic 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()
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–2018. All rights reserved.