Package com.luciad.ogc.wfs
Class TLcdWFSFilteredModelFactory
java.lang.Object
com.luciad.ogc.wfs.TLcdWFSFilteredModelFactory
- All Implemented Interfaces:
ILcdWFSFilteredModelFactory
Default implementation of
ILcdWFSFilteredModelFactory
. This class uses the
com.luciad.ogc.filter
package to evaluate filters.-
Constructor Summary
ConstructorDescriptionConstructs a newTLcdWFSFilteredModelFactory
and initializes it with anILcdOGCFilterEvaluator
. -
Method Summary
Modifier and TypeMethodDescriptioncreateFilteredModel
(ILcdModel aSourceModel, TLcdWFSGetFeatureConstraints aConstraints) Creates a filtered model.protected ILcdOGCFilterEvaluator
Creates the OGC Filter evaluator.Returns the filtering capabilities of this factory.
-
Constructor Details
-
TLcdWFSFilteredModelFactory
public TLcdWFSFilteredModelFactory()Constructs a newTLcdWFSFilteredModelFactory
and initializes it with anILcdOGCFilterEvaluator
. The evaluator is created by the createFilterEvaluator() method, which may be overridden if the user wishes to extend the out-of-the-box filtering support.- See Also:
-
-
Method Details
-
createFilterEvaluator
Creates the OGC Filter evaluator. This method can be overridden to create a custom filter evaluator. By default, an instance ofTLcdOGCFilterEvaluator
is used, which supports all filter expressions, logic operators, comparison operators. It supports all spatial filtering support when the "Advanced GIS Engine component" is available on the class path. If not, only the BBOX spatial operator is supported.- Returns:
- the filter evaluator
-
createFilteredModel
public ILcdModel createFilteredModel(ILcdModel aSourceModel, TLcdWFSGetFeatureConstraints aConstraints) throws TLcdWFSServiceException Description copied from interface:ILcdWFSFilteredModelFactory
Creates a filtered model.- Specified by:
createFilteredModel
in interfaceILcdWFSFilteredModelFactory
- Parameters:
aSourceModel
- the model to be filteredaConstraints
- the filtering criteria to apply- Returns:
- a filtered version of the source model
- Throws:
TLcdWFSServiceException
-
getFilterCapabilities
Description copied from interface:ILcdWFSFilteredModelFactory
Returns the filtering capabilities of this factory. An element, <ogc:Filter_Capabilities>, will be included in the capabilities document of the WFS service.- Specified by:
getFilterCapabilities
in interfaceILcdWFSFilteredModelFactory
- Returns:
- the filtering capabilities
-