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.
|
getSceneXMLgetSupportedMediaTypes, isEncodeAllowprotected 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 SceneEncodermediaType - The target media type to be serialized.content - The source XML string to be serialized.