Class IsMandatoryPredicate
- java.lang.Object
-
- org.apache.jackrabbit.commons.predicate.DepthPredicate
-
- org.apache.jackrabbit.commons.predicate.IsMandatoryPredicate
-
- All Implemented Interfaces:
Predicate
public class IsMandatoryPredicate extends DepthPredicate
IsMandatoryFilter...
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisMandatory-
Fields inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
maxDepth, minDepth
-
-
Constructor Summary
Constructors Constructor Description IsMandatoryPredicate()IsMandatoryPredicate(boolean isMandatory)IsMandatoryPredicate(boolean isMandatory, int minDepth, int maxDepth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanmatches(Item item)Returnstrue.-
Methods inherited from class org.apache.jackrabbit.commons.predicate.DepthPredicate
evaluate
-
-
-
-
Method Detail
-
matches
protected boolean matches(Item item) throws RepositoryException
Description copied from class:DepthPredicateReturnstrue. Subclasses can override to implement something useful that is dependant of the depth.- Overrides:
matchesin classDepthPredicate- Parameters:
item- the item to match- Returns:
trueif the item matches;falseotherwise.- Throws:
RepositoryException- if an error occurs.- See Also:
DepthPredicate.matches(javax.jcr.Item)
-
-