deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.filter.comparison
Class PropertyIsLike

java.lang.Object
  extended by org.deegree.filter.comparison.ComparisonOperator
      extended by 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:$

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.filter.comparison.ComparisonOperator
ComparisonOperator.SubType
 
Nested classes/interfaces inherited from interface org.deegree.filter.Operator
Operator.Type
 
Constructor Summary
PropertyIsLike(PropertyName propName, Literal literal, String wildCard, String singleChar, String escapeChar, boolean matchCase)
           
 
Method Summary
 boolean evaluate(MatchableObject object)
          Determines the value of the boolean operator.
 String getEscapeChar()
           
 Literal getLiteral()
           
 Expression[] getParams()
           
 PropertyName getPropertyName()
           
 String getSingleChar()
           
 ComparisonOperator.SubType getSubType()
           
 String getWildCard()
           
 String toString(String indent)
           
 
Methods inherited from class org.deegree.filter.comparison.ComparisonOperator
checkComparableOrNull, getMatchCase, getType, makeComparable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyIsLike

public PropertyIsLike(PropertyName propName,
                      Literal literal,
                      String wildCard,
                      String singleChar,
                      String escapeChar,
                      boolean matchCase)
Parameters:
propName -
literal -
wildCard -
singleChar -
escapeChar -
matchCase -
Method Detail

getPropertyName

public PropertyName getPropertyName()

getLiteral

public Literal getLiteral()

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 boolean evaluate(MatchableObject object)
                 throws FilterEvaluationException
Description copied from interface: Operator
Determines the value of the boolean operator.

Parameters:
object - MatchableObject to evaluate the operator against
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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>