public abstract class AbstractNode extends java.lang.Object implements net.sf.saxon.om.NodeInfo
ElementNode, RootNode and AttributeNode.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNode(net.sf.saxon.om.TreeInfo treeInfo)
Constructor of the abstract class
AbstractNode. |
| Modifier and Type | Method and Description |
|---|---|
net.sf.saxon.om.AtomicSequence |
atomize()
Returns AtomicSequence.
|
void |
copy(net.sf.saxon.event.Receiver receiver,
int index,
net.sf.saxon.s9api.Location location)
Copy method.
|
protected abstract java.util.List<AbstractNode> |
createChildren()
Creates nodes for children.
|
void |
generateId(net.sf.saxon.tree.util.FastStringBuffer fastStringBuffer)
Generate id method.
|
net.sf.saxon.om.NamespaceMap |
getAllNamespaces()
Returns namespace array.
|
java.lang.String |
getBaseURI()
Returns base uri.
|
protected java.util.List<AbstractNode> |
getChildren()
Getter method for children.
|
net.sf.saxon.Configuration |
getConfiguration()
Returns configuration.
|
net.sf.saxon.om.NamespaceBinding[] |
getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[] namespaceBindings)
Returns namespace array.
|
abstract int |
getDepth()
Getter method for node depth.
|
java.lang.String |
getDisplayName()
Returns display name.
|
int |
getFingerprint()
Returns fingerprint.
|
java.lang.String |
getPrefix()
Returns prefix.
|
java.lang.String |
getPublicId()
Returns public id.
|
net.sf.saxon.type.SchemaType |
getSchemaType()
Returns type of the schema.
|
java.lang.String |
getStringValue()
Returns string value.
|
java.lang.CharSequence |
getStringValueCS()
Returns CharSequence string value.
|
java.lang.String |
getSystemId()
Returns system id.
|
abstract int |
getTokenType()
Getter method for token type.
|
net.sf.saxon.om.TreeInfo |
getTreeInfo()
Returns tree info.
|
abstract DetailAST |
getUnderlyingNode()
Returns underlying node.
|
java.lang.String |
getURI()
Returns uri of the namespace for the current node.
|
boolean |
hasFingerprint()
Returns if implementation provides fingerprints.
|
boolean |
isId()
Returns boolean.
|
boolean |
isIdref()
Returns boolean.
|
boolean |
isNilled()
Returns boolean.
|
boolean |
isSameNodeInfo(net.sf.saxon.om.NodeInfo nodeInfo)
Returns true if nodes are same, false otherwise.
|
boolean |
isStreamed()
Returns boolean.
|
net.sf.saxon.tree.iter.AxisIterator |
iterateAxis(int axisNumber,
java.util.function.Predicate<? super net.sf.saxon.om.NodeInfo> nodeTest)
Determines axis iteration algorithm.
|
net.sf.saxon.s9api.Location |
saveLocation()
Returns location.
|
void |
setSystemId(java.lang.String systemId)
Sets system id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattributes, children, children, compareOrder, equals, getAttributeValue, getColumnNumber, getGenre, getLineNumber, getLocalPart, getNodeKind, getParent, getRoot, hasChildNodes, hashCode, iterateAxis, toShortStringgetLength, head, itemAt, iterate, reduce, subsequence, toGroundedValueprotected AbstractNode(net.sf.saxon.om.TreeInfo treeInfo)
AbstractNode.treeInfo - TreeInfo objectpublic abstract int getTokenType()
public abstract DetailAST getUnderlyingNode()
public abstract int getDepth()
protected abstract java.util.List<AbstractNode> createChildren()
protected java.util.List<AbstractNode> getChildren()
public boolean isSameNodeInfo(net.sf.saxon.om.NodeInfo nodeInfo)
isSameNodeInfo in interface net.sf.saxon.om.NodeInfonodeInfo - other nodeTreeInfopublic boolean hasFingerprint()
hasFingerprint in interface net.sf.saxon.om.NodeInfobooleanpublic java.lang.String getURI()
getURI in interface net.sf.saxon.om.NodeInfopublic net.sf.saxon.tree.iter.AxisIterator iterateAxis(int axisNumber, java.util.function.Predicate<? super net.sf.saxon.om.NodeInfo> nodeTest)
iterateAxis in interface net.sf.saxon.om.NodeInfoaxisNumber - element from AxisInfonodeTest - filter for iteratorAxisIterator objectpublic final net.sf.saxon.om.TreeInfo getTreeInfo()
getTreeInfo in interface net.sf.saxon.om.NodeInfopublic java.lang.String getStringValue()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getStringValue in interface net.sf.saxon.om.GroundedValuegetStringValue in interface net.sf.saxon.om.ItemgetStringValue in interface net.sf.saxon.om.NodeInfopublic final net.sf.saxon.om.NamespaceBinding[] getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[] namespaceBindings)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getDeclaredNamespaces in interface net.sf.saxon.om.NodeInfonamespaceBindings - namespace arraypublic net.sf.saxon.om.NamespaceMap getAllNamespaces()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getAllNamespaces in interface net.sf.saxon.om.NodeInfopublic final boolean isId()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.isId in interface net.sf.saxon.om.NodeInfopublic final boolean isIdref()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.isIdref in interface net.sf.saxon.om.NodeInfopublic final boolean isNilled()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.isNilled in interface net.sf.saxon.om.NodeInfopublic final boolean isStreamed()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.isStreamed in interface net.sf.saxon.om.ItemisStreamed in interface net.sf.saxon.om.NodeInfopublic final net.sf.saxon.Configuration getConfiguration()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getConfiguration in interface net.sf.saxon.om.NodeInfopublic final void setSystemId(java.lang.String systemId)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.setSystemId in interface javax.xml.transform.SourcesystemId - system idpublic final java.lang.String getSystemId()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getSystemId in interface javax.xml.transform.SourcegetSystemId in interface javax.xml.transform.SourceLocatorgetSystemId in interface net.sf.saxon.om.NodeInfogetSystemId in interface net.sf.saxon.s9api.LocationgetSystemId in interface org.xml.sax.Locatorpublic final java.lang.String getPublicId()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getPublicId in interface javax.xml.transform.SourceLocatorgetPublicId in interface net.sf.saxon.om.NodeInfogetPublicId in interface net.sf.saxon.s9api.LocationgetPublicId in interface org.xml.sax.Locatorpublic final java.lang.String getBaseURI()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getBaseURI in interface net.sf.saxon.om.NodeInfopublic final net.sf.saxon.s9api.Location saveLocation()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.saveLocation in interface net.sf.saxon.s9api.Locationpublic final java.lang.CharSequence getStringValueCS()
UnsupportedOperationException,
because no child class implements it and this method is not used for querying.getStringValueCS in interface net.sf.saxon.om.GroundedValuegetStringValueCS in interface net.sf.saxon.om.Itempublic final int getFingerprint()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getFingerprint in interface net.sf.saxon.om.NodeInfopublic final java.lang.String getDisplayName()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getDisplayName in interface net.sf.saxon.om.NodeInfopublic final java.lang.String getPrefix()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getPrefix in interface net.sf.saxon.om.NodeInfopublic final net.sf.saxon.type.SchemaType getSchemaType()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getSchemaType in interface net.sf.saxon.om.NodeInfopublic final net.sf.saxon.om.AtomicSequence atomize()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.atomize in interface net.sf.saxon.om.Itematomize in interface net.sf.saxon.om.NodeInfopublic final void generateId(net.sf.saxon.tree.util.FastStringBuffer fastStringBuffer)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.generateId in interface net.sf.saxon.om.NodeInfofastStringBuffer - fastStringBufferpublic final void copy(net.sf.saxon.event.Receiver receiver, int index, net.sf.saxon.s9api.Location location)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.copy in interface net.sf.saxon.om.NodeInforeceiver - receiverindex - indexlocation - locationCopyright © 2001-2020. All Rights Reserved.