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 Summary
Constructors Constructor Description NamePredicate(java.lang.String name)Creates a new name filter with the given name.NamePredicate(java.lang.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 Detail
- 
NamePredicate
public NamePredicate(java.lang.String name, int minDepth, int maxDepth)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
public NamePredicate(java.lang.String name)
Creates a new name filter with the given name.- Parameters:
 name- the name to filter on
 
 - 
 
 -