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 Details

    • isDownwardsOnly

      public boolean isDownwardsOnly
  • Constructor Details

    • PathMapRoot

      protected PathMapRoot(Expression root)
      Create a PathMapRoot
      Parameters:
      root - the expression at the root of a path
  • Method Details

    • getRootExpression

      public Expression getRootExpression()
      Get the root expression
      Returns:
      the expression at the root of the path