Class DepthPredicate
java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
- All Implemented Interfaces:
Predicate
- Direct Known Subclasses:
DeclaringTypePredicate,IsMandatoryPredicate,IsNodePredicate,NamePredicate,NodeTypePredicate
Implements a filter that filters item according to their (passed) depth.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDepthPredicate(int minDepth, int maxDepth) Creates a new depth filter for the given depths. -
Method Summary
-
Constructor Details
-
DepthPredicate
public DepthPredicate(int minDepth, int maxDepth) Creates a new depth filter for the given depths.- Parameters:
minDepth- the minimal depthmaxDepth- the maximal depth
-
-
Method Details