Class IsNodePredicate
java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.IsNodePredicate
- All Implemented Interfaces:
Predicate
Item filter that checks if an item is a node.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.IsNodePredicate(boolean polarity) Creates a new node item filterIsNodePredicate(boolean polarity, int minDepth, int maxDepth) Creates a new node item filter. -
Method Summary
Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
evaluate
-
Constructor Details
-
IsNodePredicate
public IsNodePredicate()Default constructor. -
IsNodePredicate
public IsNodePredicate(boolean polarity, int minDepth, int maxDepth) Creates a new node item filter.- Parameters:
polarity- the polarity of this filter. iftrueit matches nodes, iffalseit matches properties.minDepth- the minimum depthmaxDepth- the maximum depth- See Also:
-
IsNodePredicate
public IsNodePredicate(boolean polarity) Creates a new node item filter- Parameters:
polarity- the polarity of this filter. iftrueit matches nodes, iffalseit matches properties.
-