Class HierarchyConstraint

    • Constructor Detail

      • HierarchyConstraint

        public HierarchyConstraint​(String path,
                                   SelectorImpl selector)
        Creates a new hierarchy constraint with the given base path.
        Parameters:
        path - the base path.
        selector - the selector this constraint is placed on.
    • Method Detail

      • getBaseNodeId

        protected final NodeId getBaseNodeId​(EvaluationContext context)
        Returns the id of the base node or null if there is no node at the base path.
        Parameters:
        context - the evaluation context.
        Returns:
        the id or null if it doesn't exist.