Class HierarchyConstraint

    • Constructor Detail

      • HierarchyConstraint

        public HierarchyConstraint​(String path,
                                   SelectorImpl selector)
        Creates a new hierarchy constraint with the given base path.
        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.
        context - the evaluation context.
        the id or null if it doesn't exist.