Package net.sf.saxon.tree.tiny
Interface NodeVectorTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFingerprint(int nodeNr)
Get the integer fingerprint of the node at a given position in the treeint[]
getNameCodeArray()
NodeInfo
getNode(int nodeNr)
Construct a NodeInfo representing the node at a given position in the treeint
getNodeKind(int nodeNr)
Get the kind of node at a given position in the treebyte[]
getNodeKindArray()
boolean
isTyped()
Ask whether the tree contains non-trivial type information (from schema validation)
-
-
-
Method Detail
-
isTyped
boolean isTyped()
Ask whether the tree contains non-trivial type information (from schema validation)- Returns:
- true if type information is present
-
getNode
NodeInfo getNode(int nodeNr)
Construct a NodeInfo representing the node at a given position in the tree- Parameters:
nodeNr
- the node number in the tree- Returns:
- the constructed NodeInfo
-
getNodeKind
int getNodeKind(int nodeNr)
Get the kind of node at a given position in the tree- Parameters:
nodeNr
- the node number- Returns:
- the kind of node, for example
Type.ELEMENT
-
getFingerprint
int getFingerprint(int nodeNr)
Get the integer fingerprint of the node at a given position in the tree- Parameters:
nodeNr
- the node number- Returns:
- the fingerprint of the node, as registered in the NamePool. -1 for an unnamed node.
-
getNodeKindArray
byte[] getNodeKindArray()
-
getNameCodeArray
int[] getNameCodeArray()
-
-