public interface SerializationService
SerializationService
manages access to
WorkflowModelSerializer
services.Modifier and Type | Method and Description |
---|---|
WorkflowModel |
deserialize(java.lang.String modelDefinition,
java.lang.String type)
Deserializes a
WorkflowModel instance from the
given (textual) model definition. |
java.lang.String |
getMimeType(java.lang.String type)
Returns the mime type associated with a given type.
|
java.lang.String |
serialize(WorkflowModel model,
java.lang.String type)
Serializes the given
WorkflowModel into a textual
representation. |
java.lang.String getMimeType(java.lang.String type)
type
- The type of the serialization format.java.lang.String serialize(WorkflowModel model, java.lang.String type) throws java.lang.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.java.lang.Exception
- if something goes wrong during serializationWorkflowModel deserialize(java.lang.String modelDefinition, java.lang.String type) throws java.lang.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.java.lang.Exception
- if something goes wrong during deserialization"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"