Interface
caplin.core

Serializable

The interface that must be implemented by any class that wishes to provide serialization.

Constructor Summary

Attributes Name and Description
caplin.core.Serializable()

Method Summary

Attributes Name and Description
String getSerializedState(String indent)

Gets the serialized representation of an object that will be used to persist its state.

Constructor Detail

caplin.core.Serializable()

Method Detail

String getSerializedState(String indent)

Gets the serialized representation of an object that will be used to persist its state.

Parameters
String indent (optional) A formatting string that can be used to make the returned serialized form human readable. e.g. '\t' or ' '
Returns
{String} The serialized representation of the calling object.