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).

- - ### 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getRootExpression

          public Expression getRootExpression()

      Get the root expression
      Returns:
        the expression at the root of the path