public interface SerializationService
SerializationService manages access to
WorkflowModelSerializer services.| Modifier and Type | Method and Description |
|---|---|
WorkflowModel |
deserialize(String modelDefinition,
String type)
Deserializes a
WorkflowModel instance from the
given (textual) model definition. |
String |
getMimeType(String type)
Returns the mime type associated with a given type.
|
String |
serialize(WorkflowModel model,
String type)
Serializes the given
WorkflowModel into a textual
representation. |
String getMimeType(String type)
type - The type of the serialization format.String serialize(WorkflowModel model, String type) throws Exception
WorkflowModel into a textual
representation.model - The WorkflowModel to be serialized.type - The type of the serialization format.WorkflowModel or NULL if no serializer
with the given type was found.Exception - if something goes wrong during serializationWorkflowModel deserialize(String modelDefinition, String type) throws Exception
WorkflowModel instance from the
given (textual) model definition.modelDefinition - The model definition as string.type - The type of the serialization format.WorkflowModel or NULL if
no serializer with the given type was found.Exception - if something goes wrong during deserializationCopyright © 2010 - 2020 Adobe. All Rights Reserved