Package com.luciad.ogc.filter.evaluator
package com.luciad.ogc.filter.evaluator
This package provides classes to evaluate an OGC 1.0/1.1/2.0 filter.
This can be achieved by using the TLcdOGCFilterEvaluator
class to build an ILcdFilter
from a TLcdOGCFilter.
The most important classes of this package are:
TLcdOGCFilterEvaluator: this class is responsible for evaluating an OGC filter.ILcdEvaluatorFunction: this interface allows to extend the standard OGC filter functionality with custom filter functions.
The following code snippet illustrates how to evaluate a set of elements against a filter.
List
The developer guide contains more examples on how to create and evaluate filters.
- Since:
- 6.1
-
ClassDescriptionDeprecated.Deprecated.There is no need to implement this interface yourself, or to use this interface directly.
Evaluating a filter is done by creating aTLcdOGCFilterEvaluatorinstance.This interface represents the logic to evaluate an extension of the standard filtering functionality.Interface for classes that can return the feature ID of a given object.This is the common interface for all implementations able to evaluate or interpret an OGC filter (seeTLcdOGCFilter).This interface allows to abstract the way a property is obtained from a given object.This interface allows to abstract the way an OGC XPath expression can reference a property of a given object.Deprecated.ImplementILcdEvaluatorFunctionto support your own OGC functions.This implementation ofILcdPropertyRetrieverProviderresolves OGC XPath expressions onILcdDataObjectobjects.This implementation ofILcdPropertyRetrieverProvideruses a given instance ofILcdFeaturedDescriptorfor mapping OGC property names on features of aILcdFeaturedobject.This implementation ofILcdPropertyRetrieverProvideruses a given instance ofILcdFeaturedDescriptorProviderfor mapping OGC property names on features of aILcdFeaturedobject.This class holds a feature ID retriever, a property retriever provider and a default georeference with which an implementation ofILcdOGCFilterEvaluatormust be provided in order to be able to interpret a filter or an expression.This class allows to convert aTLcdOGCFilterinto anILcdDynamicFilterwhich can be used to determine whether objects pass the filter or not.Deprecated.This class only contains one static utility method, which is the equivalent ofILcdPropertyRetrieverProvider.createDefaultPropertyRetrieverProvider(ILcdModel)This class is an implementation ofILcdPropertyRetrieverthat returns the object itself.This class is an implementation ofILcdPropertyRetrieverProviderthat returns a instance ofTLcdSelfPropertyRetriever.Deprecated.This class is deprecated becauseILcdXMLElementhas been deprecated.
Evaluating a filter is done by creating a
TLcdOGCFilterEvaluatorinstance.