Class NodeTypePredicate
java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.NodeTypePredicate
- All Implemented Interfaces:
Predicate
Filters on the node type of a node.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNodeTypePredicate(String nodeType, boolean respectSupertype) Creates a new node type filter.NodeTypePredicate(String nodeType, boolean respectSupertype, int minDepth, int maxDepth) Creates a new node type filter. -
Method Summary
Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
evaluate
-
Constructor Details
-
NodeTypePredicate
Creates a new node type filter.- Parameters:
nodeType- the node type to filter onrespectSupertype- indicates if supertype should be respectedminDepth- the minimal depthmaxDepth- the maximal depth
-
NodeTypePredicate
Creates a new node type filter.- Parameters:
nodeType- the node type to filter onrespectSupertype- indicates if supertype should be respected
-