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.FingerprintedNode,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 ElementNodeparentprotected net.sf.saxon.value.ValuevalueDeprecated.
-
Constructor Summary
Constructors Constructor Description AttributeNode(ElementNode parent, 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.StringgetBaseURI()intgetFingerprint()StringgetLocalPart()Deprecated.intgetNameCode()net.sf.saxon.om.NamePoolgetNamePool()intgetNodeKind()net.sf.saxon.om.NodeInfogetParent()StringgetPrefix()CharSequencegetStringValueCS()Deprecated.net.sf.saxon.om.SequenceIteratorgetTypedValue()Deprecated.StringgetURI()-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
copy, createUnsupportedOperationException, equals, filter, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getLineNumber, getRoot, getSiblingPosition, getStringValue, getSystemId, getTypeAnnotation, getUnderlyingNode, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setSystemId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.NodeInfo
copy, equals, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getLineNumber, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis
-
Methods inherited from interface javax.xml.transform.Source
isEmpty, setSystemId
-
-
-
-
Field Detail
-
attribute
protected final Attribute attribute
Deprecated.
-
id
protected final int id
Deprecated.
-
value
protected net.sf.saxon.value.Value value
Deprecated.
-
parent
protected final ElementNode parent
-
-
Constructor Detail
-
AttributeNode
public AttributeNode(ElementNode parent, Attribute attribute, int id)
Deprecated.Creates a new AttributeNode from a PMD Attribute.- Parameters:
parent- Parent elemtnid- The index within the attribute order
-
-
Method Detail
-
getLocalPart
public String getLocalPart()
Deprecated.- Specified by:
getLocalPartin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getLocalPartin 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
-
getURI
public final String getURI()
- Specified by:
getURIin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getURIin classAbstractNodeInfo
-
getBaseURI
public final String getBaseURI()
- Specified by:
getBaseURIin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getBaseURIin classAbstractNodeInfo
-
getPrefix
public String getPrefix()
- Specified by:
getPrefixin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getPrefixin classAbstractNodeInfo
-
getParent
public final net.sf.saxon.om.NodeInfo getParent()
- Specified by:
getParentin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getParentin classAbstractNodeInfo
-
getNameCode
public int getNameCode()
- Specified by:
getNameCodein interfacenet.sf.saxon.om.NodeInfo- Overrides:
getNameCodein classAbstractNodeInfo
-
getFingerprint
public final int getFingerprint()
- Specified by:
getFingerprintin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getFingerprintin classAbstractNodeInfo
-
getNamePool
public final net.sf.saxon.om.NamePool getNamePool()
- Specified by:
getNamePoolin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getNamePoolin classAbstractNodeInfo
-
getNodeKind
public final int getNodeKind()
- Specified by:
getNodeKindin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getNodeKindin classAbstractNodeInfo
-
-