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
ConstructorsConstructorDescriptionConstructs a newTLcdWFSFilteredModelFactoryand initializes it with anILcdOGCFilterEvaluator. -
Method Summary
Modifier and TypeMethodDescriptioncreateFilteredModel(ILcdModel aSourceModel, TLcdWFSGetFeatureConstraints aConstraints) Creates a filtered model.protected ILcdOGCFilterEvaluatorCreates the OGC Filter evaluator.Returns the filtering capabilities of this factory.
-
Constructor Details
-
TLcdWFSFilteredModelFactory
public TLcdWFSFilteredModelFactory()Constructs a newTLcdWFSFilteredModelFactoryand 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 ofTLcdOGCFilterEvaluatoris 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:ILcdWFSFilteredModelFactoryCreates a filtered model.- Specified by:
createFilteredModelin 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:ILcdWFSFilteredModelFactoryReturns the filtering capabilities of this factory. An element, <ogc:Filter_Capabilities>, will be included in the capabilities document of the WFS service.- Specified by:
getFilterCapabilitiesin interfaceILcdWFSFilteredModelFactory- Returns:
- the filtering capabilities
-