Class NamePredicate

java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.NamePredicate
All Implemented Interfaces:
Predicate

public class NamePredicate extends DepthPredicate
Filters items according to their names.
  • Constructor Details

    • NamePredicate

      public NamePredicate(String name, int minDepth, int maxDepth)
      Creates a new name filter with the given name and depths
      Parameters:
      name - the name to filter on
      minDepth - the minimal depth
      maxDepth - the maximal depth
    • NamePredicate

      public NamePredicate(String name)
      Creates a new name filter with the given name.
      Parameters:
      name - the name to filter on