ibm_ilog.diagram.util.Serializer (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.util.Serializer
dojo.require("ibm_ilog.diagram.util.Serializer");
This class is a template-based serialization procedure for GraphElements. Provided a specific set of user callbacks, the instances of this class can be used to execute the serialization of a network of entities and its corresponding deserialization. see: ibm_ilog.diagram.util.__SerializerArgs
Method Summary
- constructor(kwArgs)
- deserialize(s, container) Deserialize a set of elements into a container
- serialize(geSet) Serializes a set of graph elements.
- testApiDoc(kwArgs)
Methods
Parameter | Type | Description | |||
---|---|---|---|---|---|
kwArgs | ibm_ilog.diagram.util.__SerializerArgs |
|
Deserialize a set of elements into a container
Parameter | Type | Description |
---|---|---|
s | Array | The serialized representations of the elements to deserialize |
container | Object | The container into which to create the elements. |
Array
The serialized representation for each of the elements
Serializes a set of graph elements.
Parameter | Type | Description |
---|---|---|
geSet | Array | Array of graph elements to serialize. Deserialization occurs once for each regardlessly of the relationships between them. See also ibm_ilog.diagram.util.GraphUtil.maximals for achieving a variant which removes duplicated copying. |