public class Flash3DEncoder extends TemplateEncoder
Flash3D statement generator.
Used to show the map in the form of an flash3D example.
Constructor and Description |
---|
Flash3DEncoder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MediaType> |
createSupportedMediaTypes()
Creates a supported media type, here is the flash3D expression type, "application / ajax".
|
Representation |
toRepresentation(MediaType mediaType, java.lang.Object content)
Serializes a Java object into an flash3D sample type.
|
createSupportedLanguages, getAllConfigs, getApplicationRootPath, getConfiguration, getLocLogger, getMessageManager, getParentResourceInfos, getProductType, getRepresentation, getServletID, getSize, getTemplateName, isWriteable, setExpectedLanguage, setExtendedUriInfo, setTemplateName, supportedMediaTypes, writeTo
getSupportedMediaTypes, isEncodeAllow
protected java.util.List<MediaType> createSupportedMediaTypes()
Creates a supported media type, here is the flash3D expression type, "application / ajax".
createSupportedMediaTypes
in class TemplateEncoder
public Representation toRepresentation(MediaType mediaType, java.lang.Object content)
Serializes a Java object into an flash3D sample type.
toRepresentation
in class TemplateEncoder
mediaType
- media type.content
- The Java object to be serialized.