<h1>com::mxgraph::mxModelCodec Class Reference</h1><!-- doxytag: class="com::mxgraph::mxModelCodec" --><!-- doxytag: inherits="com::mxgraph::mxObjectCodec" -->
<p>Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html"title="XML codec for .NET object graphs. In order to resolve forward references when reading...">mxCodec</a> and the <aclass="el"href="classcom_1_1mxgraph_1_1mxCodecRegistry.html"title="Static class that acts as a global registry for codecs. See mxCodec for an example...">mxCodecRegistry</a>.
<ahref="#_details">More...</a></p>
<divclass="dynheader">
Inheritance diagram for com::mxgraph::mxModelCodec:</div>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructs a new model codec. <ahref="#a0f08ae910decb08326e279aa15253329"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructs a new model codec for the given template. <ahref="#a127ded19ebb7d5efeacfce244f0f751a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructs a new model codec for the given arguments. <ahref="#a3954e4835954a01b46671fd802a13d42"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reads the cells into the graph model. All cells are children of the root element in the node. <ahref="#a64513ab4228e528bfd216c08def3ec6c"></a><br/></td></tr>
<tr><tdcolspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Encodes the given <aclass="el"href="classcom_1_1mxgraph_1_1mxGraphModel.html"title="Implements a graph model. The graph model acts as a wrapper around the cells which...">mxGraphModel</a> by writing a (flat) XML sequence of cell nodes as produced by the <aclass="el"href="classcom_1_1mxgraph_1_1mxCellCodec.html"title="Codec for mxCells. This class is created and registered dynamically at load time...">mxCellCodec</a>. The sequence is wrapped-up in a node with the name root. <ahref="#abe01c87a42e5568047c44c78ba0b2a2d"></a><br/></td></tr>
<p>Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html"title="XML codec for .NET object graphs. In order to resolve forward references when reading...">mxCodec</a> and the <aclass="el"href="classcom_1_1mxgraph_1_1mxCodecRegistry.html"title="Static class that acts as a global registry for codecs. See mxCodec for an example...">mxCodecRegistry</a>. </p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<p>Reads the cells into the graph model. All cells are children of the root element in the node. </p>
<p>Reimplemented from <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html#aef2e78e13b8dd5895ac272a0542ce4f2">com::mxgraph::mxObjectCodec</a>.</p>
<p>Encodes the given <aclass="el"href="classcom_1_1mxgraph_1_1mxGraphModel.html"title="Implements a graph model. The graph model acts as a wrapper around the cells which...">mxGraphModel</a> by writing a (flat) XML sequence of cell nodes as produced by the <aclass="el"href="classcom_1_1mxgraph_1_1mxCellCodec.html"title="Codec for mxCells. This class is created and registered dynamically at load time...">mxCellCodec</a>. The sequence is wrapped-up in a node with the name root. </p>
<p>Reimplemented from <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html#ade4c4a85d7ed2162f9566c8df931d250">com::mxgraph::mxObjectCodec</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>