deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.model.filterencoding
Interface Operation

All Known Implementing Classes:
AbstractOperation, ComparisonOperation, LogicalOperation, PropertyIsBetweenOperation, PropertyIsCOMPOperation, PropertyIsInstanceOfOperation, PropertyIsLikeOperation, PropertyIsNullOperation, SpatialOperation

public interface Operation

--------------------------------------------------------------------------

Version:
$Revision: 9343 $ $Date: 2007-12-27 14:30:32 +0100 (Do, 27 Dez 2007) $
Author:
Markus Schneider, Andreas Poth

Method Summary
 boolean evaluate(Feature feature)
          Calculates the Filter's logical value based on the certain property values of the given feature.
 int getOperatorId()
          Returns the operator's id.
 String getOperatorName()
          Returns the name of the operator.
 StringBuffer toXML()
          Produces an indented XML representation of this object.
 

Method Detail

getOperatorName

String getOperatorName()
Returns the name of the operator.


getOperatorId

int getOperatorId()
Returns the operator's id.


evaluate

boolean evaluate(Feature feature)
                 throws FilterEvaluationException
Calculates the Filter's logical value based on the certain property values of the given feature.

Parameters:
feature - that determines the values of PropertyNames in the expression
Returns:
true, if the Filter evaluates to true, else false
Throws:
FilterEvaluationException - if the evaluation fails

toXML

StringBuffer toXML()
Produces an indented XML representation of this object.


deegree 2.2 (2008/12/22 11:33 build-3038-official)

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