|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.OperatorFilter
public class OperatorFilter
Filter that selects objects that test positively against Operator-based expressions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.filter.Filter |
|---|
Filter.Type |
| Constructor Summary | |
|---|---|
OperatorFilter(Operator rootOperator)
Creates a new OperatorFilter. |
|
| Method Summary | ||
|---|---|---|
|
evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
Determines if the given object matches this Filter. |
|
Operator |
getOperator()
Returns the root Operator of the test expression. |
|
Filter.Type |
getType()
Always returns Filter.Type.OPERATOR_FILTER (for OperatorFilter instances). |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OperatorFilter(Operator rootOperator)
OperatorFilter.
rootOperator - root operator that defines the test expression| Method Detail |
|---|
public Filter.Type getType()
Filter.Type.OPERATOR_FILTER (for OperatorFilter instances).
getType in interface FilterFilter.Type.OPERATOR_FILTERpublic Operator getOperator()
Operator of the test expression.
public <T> boolean evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
throws FilterEvaluationException
FilterFilter.
evaluate in interface FilterT - type of the context objectobj - object that the operator is evaluated upon, must not be nullxpathEvaluator - used for evaluation of XPath expressions, must not be null
FilterEvaluationException - if the evaluation failspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||