Class PathPredicateEvaluator

  • All Implemented Interfaces:
    PredicateEvaluator

    public class PathPredicateEvaluator
    extends AbstractPredicateEvaluator
    Searches within a given path.

    Does not support facet extraction.

    Name:

    path

    Properties:

    path
    path pattern; depending on exact, either the entire subtree will match (like appending //* in xpath, but note that this does not include the base path) (exact=false, default) or only an exact path matches, which can include wildcards (*); if self is set, the entire subtree including the base node will be searched
    exact
    if exact is true/on, the exact path must match, but it can contain simple wildcards (*), that match names, but not "/"; if it is false (default) all descendents are included (optional)
    flat
    searches only the direct children (like appending "/*" in xpath) (only used if 'exact' is not true, optional)
    self
    searches the subtree but includes the base node given as path (no wildcards)
    Since:
    5.2