Package net.sf.saxon.expr.parser
Class PathMap.PathMapRoot
- java.lang.Object
-
- net.sf.saxon.expr.parser.PathMap.PathMapNode
-
- net.sf.saxon.expr.parser.PathMap.PathMapRoot
-
- Enclosing class:
- PathMap
public static class PathMap.PathMapRoot extends PathMap.PathMapNode
A root node in the path map. A root node represents either (a) a subexpression that is the first step in a path expression, or (b) a subexpression that is not the first step in a path, but which returns nodes (for example, a call on the doc() function).
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isDownwardsOnly
-
Constructor Summary
Constructors Modifier Constructor Description protected
PathMapRoot(Expression root)
Create a PathMapRoot
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
getRootExpression()
Get the root expression-
Methods inherited from class net.sf.saxon.expr.parser.PathMap.PathMapNode
allPathsAreWithinStreamableSnapshot, createArc, createArc, getArcs, hasReachableReturnables, hasUnknownDependencies, isAtomized, isReturnable, setAtomized, setHasUnknownDependencies, setReturnable
-
-
-
-
Constructor Detail
-
PathMapRoot
protected PathMapRoot(Expression root)
Create a PathMapRoot- Parameters:
root
- the expression at the root of a path
-
-
Method Detail
-
getRootExpression
public Expression getRootExpression()
Get the root expression- Returns:
- the expression at the root of the path
-
-