Interface ILcdWMSFeatureInfoRequestEncoder

All Known Implementing Classes:
TLcdGXYViewGIFEncoder, TLcdGXYViewJPEGEncoder, TLcdGXYViewPNGEncoder, TLcdGXYViewSVGEncoder

public interface ILcdWMSFeatureInfoRequestEncoder
Deprecated.
Since 2017.0 Please make use of the interface ILcdWMSGetFeatureInfoRequestEncoder.
This interface specifies methods to write given the features of the TLcdGXYLayerSubsetList of ILcdGXYView to a OutputStream.
The type of encoding is defined by the actual implementations.
Each 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 ILcdWMSGetFeatureInfoRequestEncoder, which is used for the same purpose but offers access to extra information related to the current request. This information is stored in a TLcdWMSRequestContext object, which is supplied as a parameter to the encode() method.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView)
    Deprecated.
    Encodes the given selection in the TLcdGXYLayerSubsetList from a given ILcdGXYView and sends it to the given OutputStream.
    Deprecated.
    Returns the content MIME type of the encoder.
  • Method Details

    • getContentType

      String getContentType()
      Deprecated.
      Returns the content MIME type of the encoder.
      Returns:
      the MIME-type as String.
    • encode

      void encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView) throws jakarta.servlet.ServletException
      Deprecated.
      Encodes the given selection in the TLcdGXYLayerSubsetList from a given ILcdGXYView and sends it to the given OutputStream.
      Parameters:
      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 .
      Throws:
      jakarta.servlet.ServletException - for writing and sending exceptions.