Class TLcdWFSFilteredModelFactory

java.lang.Object
com.luciad.ogc.wfs.TLcdWFSFilteredModelFactory
All Implemented Interfaces:
ILcdWFSFilteredModelFactory

public class TLcdWFSFilteredModelFactory extends Object implements ILcdWFSFilteredModelFactory
Default implementation of ILcdWFSFilteredModelFactory. This class uses the com.luciad.ogc.filter package to evaluate filters.
  • Constructor Details

    • TLcdWFSFilteredModelFactory

      public TLcdWFSFilteredModelFactory()
      Constructs a new TLcdWFSFilteredModelFactory and initializes it with an ILcdOGCFilterEvaluator. 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

      protected ILcdOGCFilterEvaluator createFilterEvaluator()
      Creates the OGC Filter evaluator. This method can be overridden to create a custom filter evaluator. By default, an instance of TLcdOGCFilterEvaluator 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 interface ILcdWFSFilteredModelFactory
      Parameters:
      aSourceModel - the model to be filtered
      aConstraints - the filtering criteria to apply
      Returns:
      a filtered version of the source model
      Throws:
      TLcdWFSServiceException
    • getFilterCapabilities

      public TLcdOGCFilterCapabilities 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 interface ILcdWFSFilteredModelFactory
      Returns:
      the filtering capabilities