public interface WorkflowModelSerializer
WorkflowModelSerializer
is the interface for services that
provide functionality for de-/serialising
WorkflowModel
from/to other (textual) representations.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MIME_TYPE
Property for the mime type of the serialization format of the
WorkflowModelSerializer . |
static java.lang.String |
TYPE
Property for the type serialization type of the
WorkflowModelSerializer . |
Modifier and Type | Method and Description |
---|---|
WorkflowModel |
deserialize(java.lang.String modelDefinition)
Deserializes a
WorkflowModel instance from the
given (textual) model definition. |
java.lang.String |
getMimeType()
Returns the mime type of the
WorkflowModelSerializer s
serialization format. |
java.lang.String |
getType()
Returns the type of the
WorkflowModelSerializer . |
java.lang.String |
serialize(WorkflowModel model)
Serializes the given
WorkflowModel into a textual
representation. |
static final java.lang.String TYPE
WorkflowModelSerializer
.static final java.lang.String MIME_TYPE
WorkflowModelSerializer
.java.lang.String getType()
WorkflowModelSerializer
. Must
return a unique string describing the type of the
WorkflowModelSerializer
and serialization format
respectively.WorkflowModelSerializer
and serialization format.java.lang.String getMimeType()
WorkflowModelSerializer
s
serialization format.java.lang.String serialize(WorkflowModel model) throws java.lang.Exception
WorkflowModel
into a textual
representation.model
- The WorkflowModel
to be serialized.WorkflowModel
.java.lang.Exception
- if something goes wrong during serializationWorkflowModel deserialize(java.lang.String modelDefinition) throws java.lang.Exception
WorkflowModel
instance from the
given (textual) model definition.modelDefinition
- The model definition as string.WorkflowModel
.java.lang.Exception
- if something goes wrong during deserializationCopyright © 2010 - 2020 Adobe. All Rights Reserved