Class DeclaringTypePredicate
java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.DeclaringTypePredicate
- All Implemented Interfaces:
Predicate
Filter that checks the declared type of an item
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeclaringTypePredicate(String nodeType, boolean propsOnly) Creates a new filter for the given nodetype and flagsDeclaringTypePredicate(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 Details
-
DeclaringTypePredicate
Creates a new filter for the given nodetype and flags.- Parameters:
nodeType- the nodetype name to checkpropsOnly- iftrueonly properties are checkedminDepth- the minimal depthmaxDepth- the maximal depth
-
DeclaringTypePredicate
Creates a new filter for the given nodetype and flags- Parameters:
nodeType- the nodetype name to checkpropsOnly- iftrueonly properties are checked
-