|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializationService
The SerializationService manages access to
services.
WorkflowModelSerializer
| Method Summary | |
|---|---|
WorkflowModel |
deserialize(String modelDefinition,
String type)
Deserializes a |
String |
getMimeType(String type)
Returns the mime type associated with a given type. |
String |
serialize(WorkflowModel model,
String type)
Serializes the given |
| Method Detail |
|---|
String getMimeType(String type)
type - The type of the serialization format.
String serialize(WorkflowModel model,
String type)
throws Exception
WorkflowModel into a textual
representation.
- Parameters:
model - The WorkflowModel to be serialized.type - The type of the serialization format.
- Returns:
- A serialized (textual) representation of the
WorkflowModel or NULL if no serializer
with the given type was found.
- Throws:
Exception
WorkflowModel deserialize(String modelDefinition,
String type)
throws Exception
WorkflowModel instance from the
given (textual) model definition.
- Parameters:
modelDefinition - The model definition as string.type - The type of the serialization format.
- Returns:
- The deserialized
WorkflowModel or NULL if
no serializer with the given type was found.
- Throws:
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||