Package com.luciad.ogc.wfs
Interface ILcdWFSModelEncoder
- All Superinterfaces:
ILcdModelEncoder
,Serializable
- All Known Implementing Classes:
TLcdWFSModelEncoder
A WFS model encoder extends a model encoder with a content type (MIME type) which will be used for WFS GetFeature
responses.
- Since:
- 2015.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the content type (MIME type) of the encoded schema that will be used for the HTTP response to a WFS GetFeature request.Methods inherited from interface com.luciad.model.ILcdModelEncoder
canExport, canSave, export, getDisplayName, save
-
Method Details
-
getContentType
String getContentType()Gets the content type (MIME type) of the encoded schema that will be used for the HTTP response to a WFS GetFeature request. When the content type isnull
, the content type is undefined and no content type will be set on the response. It is recommended to always explicitly define a content type because browsers and clients often depend on it for correct and well-defined behavior.A typical content type is
"text/xml; subtype=gml/3.1.1"
for GML 3.1.- Returns:
- the content type (MIME type) of the encoded model, which may be
null
-