public class KMLEncoder extends Encoder
KML expression generator.
Constructor and Description |
---|
KMLEncoder()
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MediaType> |
createSupportedMediaTypes()
${services_rest_encoders_Encoder_method_createSupportedMediaTypes_Title}
|
org.w3c.dom.Document |
toDocument(KMLObject resourceObj)
Populate KML-type resource objects into XML files.
|
Representation |
toRepresentation(MediaType mediaType, java.lang.Object resourceObj)
${services_rest_encoders_Encoder_method_toRepresentation_Title}
|
getSupportedMediaTypes, isEncodeAllow
protected java.util.List<MediaType> createSupportedMediaTypes()
Encoder
${services_rest_encoders_Encoder_method_createSupportedMediaTypes_Title}
${services_rest_encoders_Encoder_method_createSupportedMediaTypes_Description}
createSupportedMediaTypes
in class Encoder
public Representation toRepresentation(MediaType mediaType, java.lang.Object resourceObj)
Encoder
${services_rest_encoders_Encoder_method_toRepresentation_Title}
${services_rest_encoders_Encoder_method_toRepresentation_Description}
toRepresentation
in class Encoder
mediaType
- ${services_rest_encoders_Encoder_method_toRepresentation_param_mediaType}resourceObj
- ${services_rest_encoders_Encoder_method_toRepresentation_param_obj}public org.w3c.dom.Document toDocument(KMLObject resourceObj)
Populate KML-type resource objects into XML files.
resourceObj
- resource object.