net.sf.saxon.expr
Class PathMap.PathMapNode
java.lang.Object
net.sf.saxon.expr.PathMap.PathMapNode
- PathMap
public static class PathMap.PathMapNode
extends java.lang.Object
A node in the path map. A node holds a set of arcs, each representing a link to another
node in the path map.
PathMap.PathMapNode | createArc(AxisExpression step) - Create a new arc
|
void | createArc(AxisExpression step, PathMap.PathMapNode target) - Create a new arc to an existing target
|
PathMap.PathMapArc[] | getArcs() - Get the arcs emanating from this node in the PathMap
|
boolean | hasUnknownDependencies() - Ask whether the path has unknown dependencies, typically because a node reached
by the path is supplied as an argument to a user-defined function
|
boolean | isAtomized() - Ask whether the typed value (or string value) of the node reached by this path
will be required.
|
boolean | isReturnable() - Ask whether the node represents a value that is returnable as the result of the
supplied expression, rather than merely a node that is visited en route
|
void | setAtomized() - Indicate that the typed value or string value of the node reached by this path
will be used.
|
void | setHasUnknownDependencies() - Indicate that the path has unknown dependencies, typically because a node reached
by the path is supplied as an argument to a user-defined function
|
void | setReturnable(boolean returnable) - Indicate that the node represents a value that is returnable as the result of the
supplied expression, rather than merely a node that is visited en route
|
createArc
public PathMap.PathMapNode createArc(AxisExpression step)
Create a new arc
step
- the AxisExpression representing this step
- the newly-constructed target of the new arc
createArc
public void createArc(AxisExpression step,
PathMap.PathMapNode target)
Create a new arc to an existing target
step
- the AxisExpression representing this steptarget
- the target node of the new arc
getArcs
public PathMap.PathMapArc[] getArcs()
Get the arcs emanating from this node in the PathMap
- the arcs, each representing an AxisStep. The order of arcs in the array is undefined.
hasUnknownDependencies
public boolean hasUnknownDependencies()
Ask whether the path has unknown dependencies, typically because a node reached
by the path is supplied as an argument to a user-defined function
- true if the path has unknown dependencies
isAtomized
public boolean isAtomized()
Ask whether the typed value (or string value) of the node reached by this path
will be required.
- true if the typed value or string value of the node is required
isReturnable
public boolean isReturnable()
Ask whether the node represents a value that is returnable as the result of the
supplied expression, rather than merely a node that is visited en route
- true if the node represents a final result of the expression
setAtomized
public void setAtomized()
Indicate that the typed value or string value of the node reached by this path
will be used.
setHasUnknownDependencies
public void setHasUnknownDependencies()
Indicate that the path has unknown dependencies, typically because a node reached
by the path is supplied as an argument to a user-defined function
setReturnable
public void setReturnable(boolean returnable)
Indicate that the node represents a value that is returnable as the result of the
supplied expression, rather than merely a node that is visited en route
returnable
- true if the node represents a final result of the expression