Class TLcdWMSTextPlainGetFeatureInfoEncoder
java.lang.Object
com.luciad.wms.server.viewencoder.TLcdWMSTextPlainGetFeatureInfoEncoder
- All Implemented Interfaces:
ILcdWMSGetFeatureInfoRequestEncoder
@LcdService(service=ILcdWMSGetFeatureInfoRequestEncoder.class,
priority=20000)
public class TLcdWMSTextPlainGetFeatureInfoEncoder
extends Object
implements ILcdWMSGetFeatureInfoRequestEncoder
Feature info encoder that encodes the features as plain text.
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.
- The encoder uses the display name for properties.
- The encoder uses the display name for property values.
- Since:
- 2017.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) Encodes the given selection in theTLcdGXYLayerSubsetListfrom a givenILcdGXYViewand sends it to the givenOutputStream.Returns the content MIME type of the encoder.
-
Constructor Details
-
TLcdWMSTextPlainGetFeatureInfoEncoder
public TLcdWMSTextPlainGetFeatureInfoEncoder()
-
-
Method Details
-
getContentType
Description copied from interface:ILcdWMSGetFeatureInfoRequestEncoderReturns the content MIME type of the encoder.- Specified by:
getContentTypein interfaceILcdWMSGetFeatureInfoRequestEncoder- Returns:
- the MIME-type as
String.
-
encode
public void encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) throws jakarta.servlet.ServletException Description copied from interface:ILcdWMSGetFeatureInfoRequestEncoderEncodes the given selection in theTLcdGXYLayerSubsetListfrom a givenILcdGXYViewand sends it to the givenOutputStream.- Specified by:
encodein interfaceILcdWMSGetFeatureInfoRequestEncoder- Parameters:
aSelectionSublist- aTLcdGXYLayerSubsetListcontaining the selection to be encoded.aOutputStream- theOutputStreamto write the output to.aGXYView- theILcdGXYViewin which the elements are selected .aWMSRequestContext- a container for the original request and other related request parameters.- Throws:
jakarta.servlet.ServletException- for writing and sending exceptions.
-