public class RowPredicate extends java.lang.Object implements Predicate
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.Constructor and 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).
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object object)
Checks whether the given object is a
Row and calls the
protected evaluate(Row) method to evaluate the row. |
public RowPredicate(java.lang.String selectorName)
selectorName
- selector name, or null
public RowPredicate()
public boolean evaluate(java.lang.Object object)
Row
and calls the
protected evaluate(Row)
method to evaluate the row.Copyright © 2010 - 2020 Adobe. All Rights Reserved