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
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
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.ExceptionWorkflowModel 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.ExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved