Class DeclaringTypePredicate
- java.lang.Object
-
- org.apache.jackrabbit.commons.predicate.DepthPredicate
-
- org.apache.jackrabbit.commons.predicate.DeclaringTypePredicate
-
- All Implemented Interfaces:
Predicate
public class DeclaringTypePredicate extends DepthPredicate
Filter that checks the declared type of an item
-
-
Constructor Summary
Constructors Constructor Description DeclaringTypePredicate(java.lang.String nodeType, boolean propsOnly)
Creates a new filter for the given nodetype and flagsDeclaringTypePredicate(java.lang.String nodeType, boolean propsOnly, int minDepth, int maxDepth)
Creates a new filter for the given nodetype and flags.
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
evaluate
-
-
-
-
Constructor Detail
-
DeclaringTypePredicate
public DeclaringTypePredicate(java.lang.String nodeType, boolean propsOnly, int minDepth, int maxDepth)
Creates a new filter for the given nodetype and flags.- Parameters:
nodeType
- the nodetype name to checkpropsOnly
- iftrue
only properties are checkedminDepth
- the minimal depthmaxDepth
- the maximal depth
-
DeclaringTypePredicate
public DeclaringTypePredicate(java.lang.String nodeType, boolean propsOnly)
Creates a new filter for the given nodetype and flags- Parameters:
nodeType
- the nodetype name to checkpropsOnly
- iftrue
only properties are checked
-
-