Class NamePredicate
java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.NamePredicate
- All Implemented Interfaces:
Predicate
Filters items according to their names.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNamePredicate(String name) Creates a new name filter with the given name.NamePredicate(String name, int minDepth, int maxDepth) Creates a new name filter with the given name and depths -
Method Summary
Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
evaluate
-
Constructor Details
-
NamePredicate
Creates a new name filter with the given name and depths- Parameters:
name- the name to filter onminDepth- the minimal depthmaxDepth- the maximal depth
-
NamePredicate
Creates a new name filter with the given name.- Parameters:
name- the name to filter on
-