public abstract class AbstractNode extends Object implements net.sf.saxon.om.NodeInfo
ElementNode, RootNode and AttributeNode.| Constructor and Description |
|---|
AbstractNode() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(AbstractNode node)
Add new child node to children list.
|
net.sf.saxon.om.AtomicSequence |
atomize()
Returns AtomicSequence.
|
int |
compareOrder(net.sf.saxon.om.NodeInfo nodeInfo)
Compares current object with specified for order.
|
int |
comparePosition(net.sf.saxon.om.NodeInfo nodeInfo)
Compares current object with specified for position.
|
void |
copy(net.sf.saxon.event.Receiver receiver,
int index,
net.sf.saxon.expr.parser.Location location)
Copy method.
|
void |
generateId(net.sf.saxon.tree.util.FastStringBuffer fastStringBuffer)
Generate id method.
|
String |
getBaseURI()
Returns base uri.
|
protected 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.
|
String |
getDisplayName()
Returns display name.
|
int |
getFingerprint()
Returns fingerprint.
|
String |
getPrefix()
Returns prefix.
|
String |
getPublicId()
Returns public id.
|
net.sf.saxon.type.SchemaType |
getSchemaType()
Returns type of the schema.
|
CharSequence |
getStringValueCS()
Returns CharSequence string value.
|
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.
|
String |
getURI()
Returns uri of the namespace for the current node.
|
boolean |
hasChildNodes()
Returns if current node has children.
|
boolean |
hasFingerprint()
Returns if implementation provides fingerprints.
|
net.sf.saxon.om.Item |
head()
Returns head.
|
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.om.SequenceIterator |
iterate()
Returns iterator.
|
net.sf.saxon.tree.iter.AxisIterator |
iterateAxis(byte axisNumber,
net.sf.saxon.pattern.NodeTest nodeTest)
Determines axis iteration algorithm.
|
net.sf.saxon.expr.parser.Location |
saveLocation()
Returns location.
|
void |
setSystemId(String systemId)
Sets system id.
|
public AbstractNode()
public abstract int getTokenType()
public abstract DetailAST getUnderlyingNode()
protected List<AbstractNode> getChildren()
protected void addChild(AbstractNode node)
node - child nodepublic 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 String getURI()
getURI in interface net.sf.saxon.om.NodeInfopublic boolean hasChildNodes()
hasChildNodes in interface net.sf.saxon.om.NodeInfopublic net.sf.saxon.tree.iter.AxisIterator iterateAxis(byte axisNumber, net.sf.saxon.pattern.NodeTest nodeTest)
iterateAxis in interface net.sf.saxon.om.NodeInfoaxisNumber - element from AxisInfonodeTest - filter for iteratorAxisIterator objectpublic int compareOrder(net.sf.saxon.om.NodeInfo nodeInfo)
compareOrder in interface net.sf.saxon.om.NodeInfonodeInfo - another NodeInfo objectpublic 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 final net.sf.saxon.om.TreeInfo getTreeInfo()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getTreeInfo 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.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(String systemId)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.setSystemId in interface SourcesystemId - system idpublic final String getSystemId()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getSystemId in interface SourcegetSystemId in interface SourceLocatorgetSystemId in interface net.sf.saxon.expr.parser.LocationgetSystemId in interface net.sf.saxon.om.NodeInfogetSystemId in interface Locatorpublic final String getPublicId()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.getPublicId in interface SourceLocatorgetPublicId in interface net.sf.saxon.expr.parser.LocationgetPublicId in interface net.sf.saxon.om.NodeInfogetPublicId in interface Locatorpublic final 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.expr.parser.Location saveLocation()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.saveLocation in interface net.sf.saxon.expr.parser.Locationpublic final int comparePosition(net.sf.saxon.om.NodeInfo nodeInfo)
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.comparePosition in interface net.sf.saxon.om.NodeInfonodeInfo - another NodeInfo objectAxisInfo representing order of
current object to specified onepublic final net.sf.saxon.om.Item head()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.head in interface net.sf.saxon.om.Itemhead in interface net.sf.saxon.om.Sequencepublic final net.sf.saxon.om.SequenceIterator iterate()
UnsupportedOperationException, because no child
class implements it and this method is not used for querying.iterate in interface net.sf.saxon.om.Sequencepublic final CharSequence getStringValueCS()
UnsupportedOperationException,
because no child class implements it and this method is not used for querying.getStringValueCS 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 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 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.expr.parser.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–2018. All rights reserved.