<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.io.mxCodecRegistry</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxCodecRegistry</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<divclass="block">Singleton class that acts as a global registry for codecs. See
<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io"><code>mxCodec</code></a> for an example.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>></code></td>
<divclass="block">Maps from classnames to codecnames.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a>></code></td>
<divclass="block">Maps from constructor names to codecs.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>></code></td>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#addAlias(java.lang.String, java.lang.String)">addAlias</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> classname,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> codecname)</code>
<divclass="block">Adds an alias for mapping a classname to a codecname.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#addPackage(java.lang.String)">addPackage</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> packagename)</code>
<divclass="block">Adds the given package name to the list of known package names.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</a><?></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#getClassForName(java.lang.String)">getClassForName</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</code>
<divclass="block">Returns a class that corresponds to the given name.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#getCodec(java.lang.String)">getCodec</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</code>
<divclass="block">Returns a codec that handles the given object, which can be an object
instance or an XML node.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#getInstanceForName(java.lang.String)">getInstanceForName</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</code>
<divclass="block">Creates and returns a new instance for the given class name.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#getName(java.lang.Object)">getName</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> instance)</code>
<divclass="block">Returns the name that identifies the codec associated
with the given instance..</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxCodecRegistry.html#register(com.mxgraph.io.mxObjectCodec)">register</a></strong>(<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a> codec)</code>
<divclass="block">Registers a new codec and associates the name of the template constructor
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a>> codecs</pre>
<divclass="block">Maps from constructor names to codecs.</div>
</li>
</ul>
<aname="aliases">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>aliases</h4>
<pre>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>> aliases</pre>
<divclass="block">Maps from classnames to codecnames.</div>
</li>
</ul>
<aname="packages">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>packages</h4>
<pre>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>> packages</pre>
<divclass="block">Holds the list of known packages. Packages are used to prefix short
<pre>public static <ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a> register(<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a> codec)</pre>
<divclass="block">Registers a new codec and associates the name of the template constructor
<pre>public static void addAlias(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> classname,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> codecname)</pre>
<divclass="block">Adds an alias for mapping a classname to a codecname.</div>
</li>
</ul>
<aname="getCodec(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCodec</h4>
<pre>public static <ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a> getCodec(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</pre>
<divclass="block">Returns a codec that handles the given object, which can be an object
instance or an XML node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - Java class name.</dd></dl>
</li>
</ul>
<aname="addPackage(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>addPackage</h4>
<pre>public static void addPackage(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> packagename)</pre>
<divclass="block">Adds the given package name to the list of known package names.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>packagename</code> - Name of the package to be added.</dd></dl>
</li>
</ul>
<aname="getInstanceForName(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInstanceForName</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getInstanceForName(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</pre>
<divclass="block">Creates and returns a new instance for the given class name.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - Name of the class to be instantiated.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new instance of the given class.</dd></dl>
</li>
</ul>
<aname="getClassForName(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getClassForName</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</a><?> getClassForName(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</pre>
<divclass="block">Returns a class that corresponds to the given name.</div>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the class for the given name.</dd></dl>
</li>
</ul>
<aname="getName(java.lang.Object)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>getName</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getName(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> instance)</pre>
<divclass="block">Returns the name that identifies the codec associated