Maps from classnames to codecnames.
Maps from constructor names to codecs.
Adds an alias for mapping a classname to a codecname.
Returns a codec that handles objects that are constructed using the given constructor.
JavaScript constructor function.
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxObjectCodec to be registered.
Generated using TypeDoc
Singleton class that acts as a global registry for codecs.
Adding an:
Define a default codec with a new instance of the object to be handled.
Define the functions required for encoding and decoding objects.
Register the codec in the.
mxObjectCodec.decode may be used to either create a new instance of an object or to configure an existing instance, in which case the into argument points to the existing object. In this case, we say the codec "configures" the object.