Package com.luciad.ogc.wfs
Class TLcdWFSRequestContext
java.lang.Object
com.luciad.ogc.common.ALcdRequestContext
com.luciad.ogc.wfs.TLcdWFSRequestContext
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 Summary
Modifier and TypeMethodDescriptionReturns the capabilities providerReturns the filtered model factory which can be used to apply a filter to a source model.getLock()
Returns the lock which is used by this request, ornull
if no lock is available.Returns the WFS model provider.Returns the request currently being handled.getRequestedFeatureType
(int aIndex) Returns the feature type involved in the current request at the given index.int
Returns the number of feature types involved in the current request.Returns the version of the WFS which applies to this request.
-
Method Details
-
getRequest
Returns the request currently being handled.- Specified by:
getRequest
in classALcdRequestContext
- Returns:
- the request currently being handled.
-
getCapabilitiesProvider
Returns the capabilities provider- Returns:
- the capabilities provider
- Since:
- 2017.0
-
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
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
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
Returns the lock which is used by this request, ornull
if no lock is available.- Returns:
- the lock as specified by the request, or
null
if no lock is available. - Since:
- 10.0
-
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
-