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(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.
-
-
-
Constructor Detail
-
DeclaringTypePredicate
public DeclaringTypePredicate(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- iftrueonly properties are checkedminDepth- the minimal depthmaxDepth- the maximal depth
-
DeclaringTypePredicate
public DeclaringTypePredicate(String nodeType, boolean propsOnly)
Creates a new filter for the given nodetype and flags- Parameters:
nodeType- the nodetype name to checkpropsOnly- iftrueonly properties are checked
-
-