Class TLcdWFSRequestContext

java.lang.Object
com.luciad.ogc.common.ALcdRequestContext
com.luciad.ogc.wfs.TLcdWFSRequestContext

public final class TLcdWFSRequestContext extends ALcdRequestContext
A class that represents context information about a WFS request that is being handled. This class is used by ILcdWFSClientModelEncoderFactory so that relevant information may be passed to the model encoders used by the WFS.
  • Method Details

    • getRequest

      public ILcdRequest getRequest()
      Returns the request currently being handled.
      Specified by:
      getRequest in class ALcdRequestContext
      Returns:
      the request currently being handled.
    • getCapabilitiesProvider

      public ILcdWFSCapabilitiesProvider getCapabilitiesProvider()
      Returns the capabilities provider
      Returns:
      the capabilities provider
      Since:
      2017.0
    • getModelProvider

      public ILcdOGCModelProvider getModelProvider()
      Returns the WFS model provider.
      Returns:
      the WFS model provider.
    • getRequestedFeatureTypeCount

      public int getRequestedFeatureTypeCount()
      Returns the number of feature types involved in the current request. If this method returns zero, all available feature types should be considered. Otherwise, the request only applies to the given subset of available feature types.
      Returns:
      the number of feature types involved in the current request.
      See Also:
    • getRequestedFeatureType

      public ILcdWFSFeatureType getRequestedFeatureType(int aIndex)
      Returns the feature type involved in the current request at the given index.
      Parameters:
      aIndex - the index of the feature type to retrieve.
      Returns:
      the feature type at the given index.
    • getFilteredModelFactory

      public ILcdWFSFilteredModelFactory getFilteredModelFactory()
      Returns the filtered model factory which can be used to apply a filter to a source model.
      Returns:
      a valid filtered model factory, or null if none is set.
      Since:
      10.0
    • getLock

      public ALcdWFSLock getLock()
      Returns the lock which is used by this request, or null if no lock is available.
      Returns:
      the lock as specified by the request, or null if no lock is available.
      Since:
      10.0
    • getVersion

      public String getVersion()
      Returns the version of the WFS which applies to this request.
      Returns:
      the version of the request, or null if the version is unknown.
      Since:
      10.0