org.deegree.filter.comparison
Class PropertyIsLike
java.lang.Object
org.deegree.filter.comparison.ComparisonOperator
org.deegree.filter.comparison.PropertyIsLike
- All Implemented Interfaces:
- Operator
public class PropertyIsLike
- extends ComparisonOperator
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 |
PropertyIsLike
public PropertyIsLike(Expression testValue,
Expression pattern,
String wildCard,
String singleChar,
String escapeChar,
Boolean matchCase,
MatchAction matchAction)
- Parameters:
testValue
- pattern
- wildCard
- singleChar
- escapeChar
- matchCase
-
getExpression
public Expression getExpression()
getPattern
public Expression getPattern()
isMatchCase
public Boolean isMatchCase()
- Overrides:
isMatchCase
in class ComparisonOperator
getWildCard
public String getWildCard()
getSingleChar
public String getSingleChar()
getEscapeChar
public String getEscapeChar()
getSubType
public ComparisonOperator.SubType getSubType()
- Specified by:
getSubType
in class ComparisonOperator
evaluate
public <T> boolean evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
throws FilterEvaluationException
- Description copied from interface:
Operator
- Determines the value of the boolean operator.
- Type Parameters:
T
- type of the context object- Parameters:
obj
- object that the operator is evaluated upon, must not be null
xpathEvaluator
- used for evaluation of XPath expressions, must not be null
- Returns:
- true, if the operator evaluates to true, false otherwise
- Throws:
FilterEvaluationException
- if the evaluation fails
toString
public String toString(String indent)
getParams
public Expression[] getParams()
- Specified by:
getParams
in class ComparisonOperator
Copyright © 2011. All Rights Reserved.