public interface ILcdWFSModelSchemaEncoder
Modifier and Type | Method and Description |
---|---|
boolean |
canExportSchema(ILcdModel aModel,
String aDestinationName)
Checks whether this encoder can export a schema for the given model.
|
void |
exportSchema(ILcdModel aModel,
String aDestinationName)
Exports a schema for the given model.
|
String |
getContentType()
Gets the content type (MIME type) of the encoded schema that will be used for the HTTP response to a WFS
DescribeFeatureType request.
|
String |
getDisplayName()
Returns the displayable name of this ILcdWFSModelSchemaEncoder.
|
boolean canExportSchema(ILcdModel aModel, String aDestinationName)
aModel
- the model to be checkedaDestinationName
- a specification of the location where the schema should be savedvoid exportSchema(ILcdModel aModel, String aDestinationName) throws IOException
aModel
- the model for which a schema is to be exportedaDestinationName
- a specification of the location where the schema should be savedIOException
- for any I/O errorsString getDisplayName()
String getContentType()
null
, 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"
for XML schemas.
null