public class VectorTileEncoder extends TemplateEncoder
Vectpr Tile expression generator.
Used to show the map in the form of vector slices example.
| Constructor and Description | 
|---|
| VectorTileEncoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected java.util.List<MediaType> | createSupportedMediaTypes()Creates a supported media type, here is the Vector Tile expression type, "application/vt", "application/vectortile". | 
| Representation | toRepresentation(MediaType mediaType, java.lang.Object content)Serializes a Java object into a representation of a Vector Tile sample type. | 
createSupportedLanguages, getAllConfigs, getApplicationRootPath, getConfiguration, getLocLogger, getMessageManager, getParentResourceInfos, getProductType, getRepresentation, getServletID, getSize, getTemplateName, isWriteable, setExpectedLanguage, setExtendedUriInfo, setTemplateName, supportedMediaTypes, writeTogetSupportedMediaTypes, isEncodeAllowprotected java.util.List<MediaType> createSupportedMediaTypes()
Creates a supported media type, here is the Vector Tile expression type, "application/vt", "application/vectortile".
createSupportedMediaTypes in class TemplateEncoder
public Representation toRepresentation(MediaType mediaType,
                              java.lang.Object content)
Serializes a Java object into a representation of a Vector Tile sample type.
toRepresentation in class TemplateEncodermediaType - media type.obj - The Java object to be serialized.