public class SceneZipEncoder extends SceneEncoder
message
Constructor and Description |
---|
SceneZipEncoder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MediaType> |
createSupportedMediaTypes()
Creates a supported media type, here is the scenezip type.
|
Representation |
toRepresentation(MediaType mediaType, java.lang.Object content)
Serializes XML strings into DOM-based XML representations.
|
getSceneXML
getSupportedMediaTypes, isEncodeAllow
protected java.util.List<MediaType> createSupportedMediaTypes()
Creates a supported media type, here is the scenezip type.
That is, SceneEncoder supports the conversion of the formatted object to the media type.
createSupportedMediaTypes
in class SceneEncoder
public Representation toRepresentation(MediaType mediaType, java.lang.Object content)
Serializes XML strings into DOM-based XML representations.
toRepresentation
in class SceneEncoder
mediaType
- The target media type to be serialized.content
- The source XML string to be serialized.