public interface ILcdWMSGetFeatureInfoRequestEncoder
TLcdGXYLayerSubsetList
of
ILcdGXYView
to a OutputStream
. ILcdWMSFeatureInfoRequestEncoder
has a contenttype that identifies the type of data encoded by the implementation.
This is usual the MIME - TYPE of the encoded result.
Note that there is a similar interface ILcdWMSFeatureInfoRequestEncoder
, which is used for the
same purpose but doesn't provide access to information related to the current request. This information
can be useful while encoding GetFeatureInfo
responses.Modifier and Type | Method and Description |
---|---|
void |
encode(ILcdGXYLayerSubsetList aSelectionSublist,
OutputStream aOutputStream,
ILcdGXYView aGXYView,
TLcdWMSRequestContext aWMSRequestContext)
Encodes the given selection in the
TLcdGXYLayerSubsetList from a given ILcdGXYView
and sends it to the given OutputStream . |
String |
getContentType()
Returns the content MIME type of the encoder.
|
String getContentType()
String
.void encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) throws javax.servlet.ServletException
TLcdGXYLayerSubsetList
from a given ILcdGXYView
and sends it to the given OutputStream
.aSelectionSublist
- a TLcdGXYLayerSubsetList
containing the selection to be encoded.aOutputStream
- the OutputStream
to write the output to.aGXYView
- the ILcdGXYView
in which the elements are selected .aWMSRequestContext
- a container for the original request and other related request parameters.javax.servlet.ServletException
- for writing and sending exceptions.