public interface ILcdWMTSGetLegendGraphicRequestEncoder
ILcdWMTSLegendGraphicRequestEncoder
has a content type that identifies the type of data
encoded by the implementation. This is usually the MIME - TYPE of the encoded result.Modifier and Type | Method and Description |
---|---|
boolean |
encode(TLcdWMTSGetLegendGraphicRequestContext aWMTSGetLegendGraphicRequestContext,
OutputStream aOutputStream)
Encodes the legend graphic for a given
TLcdWMTSGetLegendGraphicRequestContext and sends it to the given OutputStream . |
String |
getContentType()
Returns the content MIME type of the encoder.
|
String getContentType()
String
.boolean encode(TLcdWMTSGetLegendGraphicRequestContext aWMTSGetLegendGraphicRequestContext, OutputStream aOutputStream) throws IOException
TLcdWMTSGetLegendGraphicRequestContext
and sends it to the given OutputStream
.aWMTSGetLegendGraphicRequestContext
- a container for all relevant information that might be useful when generating legends.aOutputStream
- the OutputStream
to write the output to.IOException
- for any I/O Exceptions.