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

org.deegree.filter
Interface Filter

All Known Implementing Classes:
IdFilter, OperatorFilter, SymbologyParser.ElseFilter

public interface Filter

A Filter is a boolean expression (often containing spatial predicates) that can be tested against MatchableObjects.

The filter subsystem is designed to be compatible with the OpenGIS Filter Encoding Implementation Specification.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$
See Also:
IdFilter, OperatorFilter

Nested Class Summary
static class Filter.Type
          Convenience enum type for discriminating the different filter types.
 
Method Summary
 boolean evaluate(MatchableObject object)
          Determines if the given MatchableObject matches this Filter.
 Filter.Type getType()
          Returns the type of filter.
 

Method Detail

getType

Filter.Type getType()
Returns the type of filter. Use this to safely determine the subtype of Filter.

Returns:
type of filter (id or expression based)

evaluate

boolean evaluate(MatchableObject object)
                 throws FilterEvaluationException
Determines if the given MatchableObject matches this Filter.

Parameters:
object - MatchableObject to be tested
Returns:
true, if the Filter evaluates to true, else false
Throws:
FilterEvaluationException - if the evaluation fails

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

]]>