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 String |
MIME_TYPE
Property for the mime type of the serialization format of the
WorkflowModelSerializer . |
static String |
TYPE
Property for the type serialization type of the
WorkflowModelSerializer . |
Modifier and Type | Method and Description |
---|---|
WorkflowModel |
deserialize(String modelDefinition)
Deserializes a
|
String |
getMimeType()
Returns the mime type of the
WorkflowModelSerializer s
serialization format. |
String |
getType()
Returns the type of the
WorkflowModelSerializer . |
String |
serialize(WorkflowModel model)
Serializes the given
|
static final String TYPE
WorkflowModelSerializer
.static final String MIME_TYPE
WorkflowModelSerializer
.String getType()
WorkflowModelSerializer
. Must
return a unique string describing the type of the
WorkflowModelSerializer
and serialization format
respectively.WorkflowModelSerializer
and serialization format.String getMimeType()
WorkflowModelSerializer
s
serialization format.String serialize(WorkflowModel model) throws Exception
WorkflowModel
into a textual
representation.
model
- The WorkflowModel
to be serialized.
WorkflowModel
.
Exception
WorkflowModel deserialize(String modelDefinition) throws Exception
WorkflowModel
instance from the
given (textual) model definition.
modelDefinition
- The model definition as string.WorkflowModel
.
Exception
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"