Class PathMap.PathMapRoot

  • Enclosing class:

    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 Detail

      • isDownwardsOnly

        public boolean isDownwardsOnly
    • Constructor Detail

      • PathMapRoot

        protected PathMapRoot​(Expression root)
        Create a PathMapRoot
        root - the expression at the root of a path
    • Method Detail

      • getRootExpression

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