<ahref="classcom_1_1mxgraph_1_1mxCodecRegistry-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">com.mxgraph.mxCodecRegistry Class Reference</div></div>
</div><!--header-->
<divclass="contents">
<p>Static class that acts as a global registry for codecs. See <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html"title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> for an example of using this class.
<trclass="memdesc:a9d516650c7a2051664e84d4bf14bfbd6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal. <ahref="#a9d516650c7a2051664e84d4bf14bfbd6">More...</a><br/></td></tr>
<trclass="memdesc:afd970db748b0cd853cc0eb2049cd7824"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds an alias for mapping a classname to a codecname. <ahref="#afd970db748b0cd853cc0eb2049cd7824">More...</a><br/></td></tr>
<trclass="memdesc:a26a31214cadf077d0acb37f3f0295c6c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a codec that handles the given object, which can be an object instance or an XML node. <ahref="#a26a31214cadf077d0acb37f3f0295c6c">More...</a><br/></td></tr>
<trclass="memdesc:a1961b193103166d15bbfd6c107c1a2ed"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds the given namespace to the list of known namespaces. <ahref="#a1961b193103166d15bbfd6c107c1a2ed">More...</a><br/></td></tr>
<trclass="memdesc:a637e9ce110219850251c576524b88831"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates and returns a new instance for the given class name. <ahref="#a637e9ce110219850251c576524b88831">More...</a><br/></td></tr>
<trclass="memdesc:a702f375499d93ae78d590b19a38ee3ea"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a class that corresponds to the given name. <ahref="#a702f375499d93ae78d590b19a38ee3ea">More...</a><br/></td></tr>
<trclass="memdesc:a26bc2c27208d17e5419e1964c73f1e92"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns <aclass="el"href="classcom_1_1mxgraph_1_1mxCell.html"title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a>. <ahref="#a26bc2c27208d17e5419e1964c73f1e92">More...</a><br/></td></tr>
<trclass="memitem:aa9380d57601567bcf19923a7b0efc987"><tdclass="memItemLeft"align="right"valign="top">static Dictionary< string, <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html">mxObjectCodec</a>> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxCodecRegistry.html#aa9380d57601567bcf19923a7b0efc987">codecs</a> = new Dictionary<string, <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html">mxObjectCodec</a>>()</td></tr>
<trclass="memdesc:aa9380d57601567bcf19923a7b0efc987"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Maps from constructor names to codecs. <ahref="#aa9380d57601567bcf19923a7b0efc987">More...</a><br/></td></tr>
<trclass="memitem:a819a76478c91d2ff0e97c121eebb36d8"><tdclass="memItemLeft"align="right"valign="top">static Dictionary< string, string > </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxCodecRegistry.html#a819a76478c91d2ff0e97c121eebb36d8">aliases</a> = new Dictionary<string, string>()</td></tr>
<trclass="memdesc:a819a76478c91d2ff0e97c121eebb36d8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Maps from classnames to codecnames. <ahref="#a819a76478c91d2ff0e97c121eebb36d8">More...</a><br/></td></tr>
<trclass="memitem:a7491a4a68281ea8667b2efe61d18781a"><tdclass="memItemLeft"align="right"valign="top">static List< string > </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxCodecRegistry.html#a7491a4a68281ea8667b2efe61d18781a">namespaces</a> = new List<string>()</td></tr>
<trclass="memdesc:a7491a4a68281ea8667b2efe61d18781a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Holds the list of known namespaces. Packages are used to prefix short class names (eg. <aclass="el"href="classcom_1_1mxgraph_1_1mxCell.html"title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a>) in XML markup. <ahref="#a7491a4a68281ea8667b2efe61d18781a">More...</a><br/></td></tr>
<divclass="textblock"><p>Static class that acts as a global registry for codecs. See <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html"title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> for an example of using this class. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<pclass="reference">Referenced by <aclass="el"href="classcom_1_1mxgraph_1_1mxCellCodec.html#afef8d0281b5a8a7bc75fdf897c5d31b7">com.mxgraph.mxCellCodec.BeforeDecode()</a>, <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html#aa4d103574f3b6b379d7d7cca995a2a3d">com.mxgraph.mxCodec.Decode()</a>, <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html#a824d4ca6eaa4cf228e055c4485b7ea52">com.mxgraph.mxCodec.DecodeCell()</a>, and <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html#a3088b2e442dd7ea6f92a7ccba3b12251">com.mxgraph.mxCodec.Encode()</a>.</p>
<p>Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns <aclass="el"href="classcom_1_1mxgraph_1_1mxCell.html"title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">instance</td><td>Instance whose node name should be returned.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>Returns a string that identifies the codec.</dd></dl>
<pclass="reference">Referenced by <aclass="el"href="classcom_1_1mxgraph_1_1mxCodec.html#a3088b2e442dd7ea6f92a7ccba3b12251">com.mxgraph.mxCodec.Encode()</a>, and <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html#add9b5e9f0c81ddf6a0afaded9709ea61">com.mxgraph.mxObjectCodec.GetName()</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="classcom_1_1mxgraph_1_1mxUtils.html#aa561dea2c3fbed775659f67f04742a94">com.mxgraph.mxUtils.Eval()</a>.</p>
<p>Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal. </p>
<pclass="reference">References <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html#add9b5e9f0c81ddf6a0afaded9709ea61">com.mxgraph.mxObjectCodec.GetName()</a>, and <aclass="el"href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a52203bf1f50b6384908669ff234edb4b">com.mxgraph.mxObjectCodec.Template</a>.</p>
<p>Holds the list of known namespaces. Packages are used to prefix short class names (eg. <aclass="el"href="classcom_1_1mxgraph_1_1mxCell.html"title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a>) in XML markup. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/io/mxCodecRegistry.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">