public static class PathMap.PathMapNode extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
allPathsAreWithinStreamableSnapshot()
Determine whether the path is entirely within a streamable snapshot of a streamed document:
that is, it must only navigate to ancestors and to attributes of ancestors
|
PathMap.PathMapNode |
createArc(byte axis,
NodeTest test)
Create a new arc
|
void |
createArc(byte axis,
NodeTest test,
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 |
hasReachableReturnables()
Test whether there are any returnable nodes reachable from this node by
zero or more arcs
|
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
|
public PathMap.PathMapNode createArc(byte axis, NodeTest test)
axis
- the axis of this steptest
- the node test of this steppublic void createArc(byte axis, NodeTest test, PathMap.PathMapNode target)
axis
- the axis of this steptest
- the node test of this steptarget
- the target node of the new arcpublic PathMap.PathMapArc[] getArcs()
public void setReturnable(boolean returnable)
returnable
- true if the node represents a final result of the expressionpublic boolean isReturnable()
public boolean hasReachableReturnables()
public void setAtomized()
public boolean isAtomized()
public void setHasUnknownDependencies()
public boolean hasUnknownDependencies()
public boolean allPathsAreWithinStreamableSnapshot()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.