@LcdService(service=ILcdWMTSGetLegendGraphicRequestEncoder.class, priority=20000) public class TLcdDefaultWMTSGetLegendGraphicEncoder extends Object implements ILcdWMTSGetLegendGraphicRequestEncoder
Constructor and Description |
---|
TLcdDefaultWMTSGetLegendGraphicEncoder() |
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.
|
public TLcdDefaultWMTSGetLegendGraphicEncoder()
public String getContentType()
ILcdWMTSGetLegendGraphicRequestEncoder
getContentType
in interface ILcdWMTSGetLegendGraphicRequestEncoder
String
.public boolean encode(TLcdWMTSGetLegendGraphicRequestContext aWMTSGetLegendGraphicRequestContext, OutputStream aOutputStream) throws IOException
ILcdWMTSGetLegendGraphicRequestEncoder
TLcdWMTSGetLegendGraphicRequestContext
and sends it to the given OutputStream
.encode
in interface ILcdWMTSGetLegendGraphicRequestEncoder
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.