@LcdService(service=ILcdWMSGetFeatureInfoRequestEncoder.class, priority=20000) public class TLcdWMSTextPlainGetFeatureInfoEncoder extends Object implements ILcdWMSGetFeatureInfoRequestEncoder
The feature info encoder handles data objects that may have nested properties. Indentation is used for nested properties.
The encoder uses human readable values, if any are configured.
TLcdDataProperty.getDisplayName()
,
TLcdDataType.getDisplayName(Object)
Constructor and Description |
---|
TLcdWMSTextPlainGetFeatureInfoEncoder() |
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.
|
public TLcdWMSTextPlainGetFeatureInfoEncoder()
public String getContentType()
ILcdWMSGetFeatureInfoRequestEncoder
getContentType
in interface ILcdWMSGetFeatureInfoRequestEncoder
String
.public void encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) throws javax.servlet.ServletException
ILcdWMSGetFeatureInfoRequestEncoder
TLcdGXYLayerSubsetList
from a given ILcdGXYView
and sends it to the given OutputStream
.encode
in interface ILcdWMSGetFeatureInfoRequestEncoder
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.