org.deegree.filter.comparison
Class ComparisonOperator
java.lang.Object
org.deegree.filter.comparison.ComparisonOperator
- All Implemented Interfaces:
- Operator
- Direct Known Subclasses:
- BinaryComparisonOperator, PropertyIsBetween, PropertyIsLike, PropertyIsNull
public abstract class ComparisonOperator
- extends Object
- implements Operator
TODO add documentation here
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , last edited by: $Author:$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchCase
protected boolean matchCase
ComparisonOperator
protected ComparisonOperator(boolean matchCase)
getType
public Operator.Type getType()
- Description copied from interface:
Operator
- Returns the type of operator. Use this to safely determine the subtype of
Operator.
- Specified by:
getType in interface Operator
- Returns:
- type of operator
getMatchCase
public boolean getMatchCase()
getSubType
public abstract ComparisonOperator.SubType getSubType()
checkComparableOrNull
protected Comparable<Object> checkComparableOrNull(Object value)
throws FilterEvaluationException
- Performs a checked cast to
Comparable. If the given value is neither null nor a Comparable
instance, a corresponding FilterEvaluationException is thrown.
- Parameters:
value -
- Returns:
- the very same value (if it is a
Comparable or null)
- Throws:
FilterEvaluationException - if the value is neither null nor a Comparable
makeComparable
protected Pair<Object,Object> makeComparable(Object value1,
Object value2)
throws FilterEvaluationException
- Throws:
FilterEvaluationException
getParams
public abstract Expression[] getParams()
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>