javax.xml.transform.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
AttributeNode
, DocumentNode
, ElementNode
public class AbstractNodeInfo
extends java.lang.Object
implements net.sf.saxon.om.VirtualNode, net.sf.saxon.om.SiblingCountingNode
UnsupportedOperationException
. A few of the methods actually have
useful implementations, such as iterateAxis(byte, NodeTest)
and
isSameNodeInfo(NodeInfo)
.Constructor | Description |
---|---|
AbstractNodeInfo() |
Modifier and Type | Method | Description |
---|---|---|
net.sf.saxon.value.Value |
atomize() |
|
int |
compareOrder(net.sf.saxon.om.NodeInfo other) |
|
void |
copy(net.sf.saxon.event.Receiver receiver,
int whichNamespaces,
boolean copyAnnotations,
int locationId) |
|
protected java.lang.UnsupportedOperationException |
createUnsupportedOperationException(java.lang.String name) |
Used to create a customized instance of UnsupportedOperationException.
|
boolean |
equals(java.lang.Object other) |
This implementation considers to NodeInfo objects to be equal, if their
underlying nodes are equal.
|
void |
generateId(net.sf.saxon.om.FastStringBuffer buffer) |
|
java.lang.String |
getAttributeValue(int fingerprint) |
|
java.lang.String |
getBaseURI() |
|
int |
getColumnNumber() |
|
net.sf.saxon.Configuration |
getConfiguration() |
|
int[] |
getDeclaredNamespaces(int[] buffer) |
|
java.lang.String |
getDisplayName() |
|
int |
getDocumentNumber() |
This implementation always returns 0.
|
net.sf.saxon.om.DocumentInfo |
getDocumentRoot() |
|
int |
getFingerprint() |
|
int |
getLineNumber() |
|
java.lang.String |
getLocalPart() |
|
int |
getNameCode() |
|
net.sf.saxon.om.NamePool |
getNamePool() |
|
int |
getNodeKind() |
|
net.sf.saxon.om.NodeInfo |
getParent() |
|
java.lang.String |
getPrefix() |
|
net.sf.saxon.om.NodeInfo |
getRoot() |
|
int |
getSiblingPosition() |
|
java.lang.String |
getStringValue() |
|
java.lang.CharSequence |
getStringValueCS() |
|
java.lang.String |
getSystemId() |
|
int |
getTypeAnnotation() |
|
net.sf.saxon.om.SequenceIterator |
getTypedValue() |
|
java.lang.Object |
getUnderlyingNode() |
|
java.lang.String |
getURI() |
|
boolean |
hasChildNodes() |
|
int |
hashCode() |
|
boolean |
isId() |
|
boolean |
isIdref() |
|
boolean |
isNilled() |
|
boolean |
isSameNodeInfo(net.sf.saxon.om.NodeInfo other) |
This implementation delegates to
equals(Object) , per the Saxon
documentation's description of this method's behavior. |
net.sf.saxon.om.AxisIterator |
iterateAxis(byte axisNumber) |
|
net.sf.saxon.om.AxisIterator |
iterateAxis(byte axisNumber,
net.sf.saxon.pattern.NodeTest nodeTest) |
This implementation calls
iterateAxis(byte) to get an
AxisIterator which is then optionally filtered using
Navigator.AxisFilter . |
void |
setSystemId(java.lang.String systemId) |
public java.lang.String getSystemId()
getSystemId
in interface net.sf.saxon.om.NodeInfo
getSystemId
in interface javax.xml.transform.Source
public void setSystemId(java.lang.String systemId)
setSystemId
in interface javax.xml.transform.Source
public java.lang.String getStringValue()
getStringValue
in interface net.sf.saxon.om.Item
getStringValue
in interface net.sf.saxon.om.NodeInfo
getStringValue
in interface net.sf.saxon.om.ValueRepresentation
public java.lang.CharSequence getStringValueCS()
getStringValueCS
in interface net.sf.saxon.om.Item
getStringValueCS
in interface net.sf.saxon.om.ValueRepresentation
public net.sf.saxon.om.SequenceIterator getTypedValue() throws net.sf.saxon.trans.XPathException
getTypedValue
in interface net.sf.saxon.om.Item
net.sf.saxon.trans.XPathException
public java.lang.Object getUnderlyingNode()
getUnderlyingNode
in interface net.sf.saxon.om.VirtualNode
public int getSiblingPosition()
getSiblingPosition
in interface net.sf.saxon.om.SiblingCountingNode
public net.sf.saxon.value.Value atomize() throws net.sf.saxon.trans.XPathException
atomize
in interface net.sf.saxon.om.NodeInfo
net.sf.saxon.trans.XPathException
public int compareOrder(net.sf.saxon.om.NodeInfo other)
compareOrder
in interface net.sf.saxon.om.NodeInfo
public void copy(net.sf.saxon.event.Receiver receiver, int whichNamespaces, boolean copyAnnotations, int locationId) throws net.sf.saxon.trans.XPathException
copy
in interface net.sf.saxon.om.NodeInfo
net.sf.saxon.trans.XPathException
public boolean equals(java.lang.Object other)
equals
in interface net.sf.saxon.om.NodeInfo
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface net.sf.saxon.om.NodeInfo
hashCode
in class java.lang.Object
public void generateId(net.sf.saxon.om.FastStringBuffer buffer)
generateId
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getAttributeValue(int fingerprint)
getAttributeValue
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getBaseURI()
getBaseURI
in interface net.sf.saxon.om.NodeInfo
public int getColumnNumber()
getColumnNumber
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.Configuration getConfiguration()
getConfiguration
in interface net.sf.saxon.om.NodeInfo
public int[] getDeclaredNamespaces(int[] buffer)
getDeclaredNamespaces
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getDisplayName()
getDisplayName
in interface net.sf.saxon.om.NodeInfo
public int getDocumentNumber()
getDocumentNumber
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
getDocumentRoot
in interface net.sf.saxon.om.NodeInfo
public int getFingerprint()
getFingerprint
in interface net.sf.saxon.om.NodeInfo
public int getLineNumber()
getLineNumber
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getLocalPart()
getLocalPart
in interface net.sf.saxon.om.NodeInfo
public int getNameCode()
getNameCode
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.NamePool getNamePool()
getNamePool
in interface net.sf.saxon.om.NodeInfo
public int getNodeKind()
getNodeKind
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.NodeInfo getParent()
getParent
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getPrefix()
getPrefix
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.NodeInfo getRoot()
getRoot
in interface net.sf.saxon.om.NodeInfo
public int getTypeAnnotation()
getTypeAnnotation
in interface net.sf.saxon.om.NodeInfo
public java.lang.String getURI()
getURI
in interface net.sf.saxon.om.NodeInfo
public boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
public boolean isId()
isId
in interface net.sf.saxon.om.NodeInfo
public boolean isIdref()
isIdref
in interface net.sf.saxon.om.NodeInfo
public boolean isNilled()
isNilled
in interface net.sf.saxon.om.NodeInfo
public boolean isSameNodeInfo(net.sf.saxon.om.NodeInfo other)
equals(Object)
, per the Saxon
documentation's description of this method's behavior.
isSameNodeInfo
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber)
iterateAxis
in interface net.sf.saxon.om.NodeInfo
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber, net.sf.saxon.pattern.NodeTest nodeTest)
iterateAxis(byte)
to get an
AxisIterator
which is then optionally filtered using
Navigator.AxisFilter
.
iterateAxis
in interface net.sf.saxon.om.NodeInfo
protected java.lang.UnsupportedOperationException createUnsupportedOperationException(java.lang.String name)
throw
the
exception.name
- Method name that is not supported.Copyright © 2002–2018 PMD. All rights reserved.