|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.predicate.RowPredicate
public class RowPredicate
Predicate for checking whether a given object is a Row and
optionally whether it contains a given selector. Subclasses can extend
this class to provide more complex checking of the row or the selected
node.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate |
|---|
FALSE, TRUE |
| Constructor Summary | |
|---|---|
RowPredicate()
Creates a row predicate. |
|
RowPredicate(String selectorName)
Creates a row predicate that checks the existence of the given selector (if given). |
|
| Method Summary | |
|---|---|
protected boolean |
evaluate(Node node)
Evaluates the given node. |
boolean |
evaluate(Object object)
Checks whether the given object is a Row and calls the
protected evaluate(Row) method to evaluate the row. |
protected boolean |
evaluate(Row row)
Evaluates the given row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowPredicate(String selectorName)
selectorName - selector name, or nullpublic RowPredicate()
| Method Detail |
|---|
public boolean evaluate(Object object)
Row and calls the
protected evaluate(Row) method to evaluate the row.
evaluate in interface Predicateobject - some object
protected boolean evaluate(Row row)
throws RepositoryException
evaluate(Node) method.
RepositoryException
protected boolean evaluate(Node node)
throws RepositoryException
true.
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||