Class AttributeNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
-
- All Implemented Interfaces:
Source,net.sf.saxon.evpull.PullEvent,net.sf.saxon.om.Item,net.sf.saxon.om.NodeInfo,net.sf.saxon.om.SiblingCountingNode,net.sf.saxon.om.ValueRepresentation,net.sf.saxon.om.VirtualNode
@Deprecated @InternalApi public class AttributeNode extends AbstractNodeInfo
Deprecated.A Saxon OM Attribute node for an AST Node Attribute. Belongs to anElementNode, and wraps anAttribute.
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeattributeDeprecated.protected intidDeprecated.protected net.sf.saxon.value.ValuevalueDeprecated.
-
Constructor Summary
Constructors Constructor Description AttributeNode(Attribute attribute, int id)Deprecated.Creates a new AttributeNode from a PMD Attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description net.sf.saxon.value.Valueatomize()Deprecated.intcompareOrder(net.sf.saxon.om.NodeInfo other)Deprecated.StringgetLocalPart()Deprecated.intgetNodeKind()Deprecated.CharSequencegetStringValueCS()Deprecated.net.sf.saxon.om.SequenceIteratorgetTypedValue()Deprecated.StringgetURI()Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
copy, createUnsupportedOperationException, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getNameCode, getNamePool, getParent, getPrefix, getRoot, getSiblingPosition, getStringValue, getSystemId, getTypeAnnotation, getUnderlyingNode, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setSystemId
-
-
-
-
Field Detail
-
attribute
protected final Attribute attribute
Deprecated.
-
id
protected final int id
Deprecated.
-
value
protected net.sf.saxon.value.Value value
Deprecated.
-
-
Constructor Detail
-
AttributeNode
public AttributeNode(Attribute attribute, int id)
Deprecated.Creates a new AttributeNode from a PMD Attribute.- Parameters:
id- The index within the attribute order
-
-
Method Detail
-
getNodeKind
public int getNodeKind()
Deprecated.- Specified by:
getNodeKindin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getNodeKindin classAbstractNodeInfo
-
getLocalPart
public String getLocalPart()
Deprecated.- Specified by:
getLocalPartin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getLocalPartin classAbstractNodeInfo
-
getURI
public String getURI()
Deprecated.- Specified by:
getURIin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getURIin classAbstractNodeInfo
-
atomize
public net.sf.saxon.value.Value atomize()
Deprecated.- Specified by:
atomizein interfacenet.sf.saxon.om.NodeInfo- Overrides:
atomizein classAbstractNodeInfo
-
getStringValueCS
public CharSequence getStringValueCS()
Deprecated.- Specified by:
getStringValueCSin interfacenet.sf.saxon.om.Item- Specified by:
getStringValueCSin interfacenet.sf.saxon.om.ValueRepresentation- Overrides:
getStringValueCSin classAbstractNodeInfo
-
getTypedValue
public net.sf.saxon.om.SequenceIterator getTypedValue() throws net.sf.saxon.trans.XPathExceptionDeprecated.- Specified by:
getTypedValuein interfacenet.sf.saxon.om.Item- Overrides:
getTypedValuein classAbstractNodeInfo- Throws:
net.sf.saxon.trans.XPathException
-
compareOrder
public int compareOrder(net.sf.saxon.om.NodeInfo other)
Deprecated.- Specified by:
compareOrderin interfacenet.sf.saxon.om.NodeInfo- Overrides:
compareOrderin classAbstractNodeInfo
-
-