Class RowPredicate
- java.lang.Object
-
- org.apache.jackrabbit.commons.predicate.RowPredicate
-
- All Implemented Interfaces:
Predicate
public class RowPredicate extends java.lang.Object implements Predicate
Predicate for checking whether a given object is aRowand optionally whether it contains a given selector. Subclasses can extend this class to provide more complex checking of the row or the selected node.- Since:
- Apache Jackrabbit 2.2
-
-
Constructor Summary
Constructors Constructor Description RowPredicate()Creates a row predicate.RowPredicate(java.lang.String selectorName)Creates a row predicate that checks the existence of the given selector (if given).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(java.lang.Object object)Checks whether the given object is aRowand calls the protectedevaluate(Row)method to evaluate the row.
-
-
-
Method Detail
-
evaluate
public boolean evaluate(java.lang.Object object)
Checks whether the given object is aRowand calls the protectedevaluate(Row)method to evaluate the row.
-
-