<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.mxObjectCodec</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../com/mxgraph/io/mxCellCodec.html"title="class in com.mxgraph.io">mxCellCodec</a>, <ahref="../../../com/mxgraph/io/mxChildChangeCodec.html"title="class in com.mxgraph.io">mxChildChangeCodec</a>, <ahref="../../../com/mxgraph/io/mxGenericChangeCodec.html"title="class in com.mxgraph.io">mxGenericChangeCodec</a>, <ahref="../../../com/mxgraph/io/mxModelCodec.html"title="class in com.mxgraph.io">mxModelCodec</a>, <ahref="../../../com/mxgraph/io/mxRootChangeCodec.html"title="class in com.mxgraph.io">mxRootChangeCodec</a>, <ahref="../../../com/mxgraph/io/mxStylesheetCodec.html"title="class in com.mxgraph.io">mxStylesheetCodec</a>, <ahref="../../../com/mxgraph/io/mxTerminalChangeCodec.html"title="class in com.mxgraph.io">mxTerminalChangeCodec</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxObjectCodec</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">Generic codec for Java objects. See below for a detailed description of
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a>></code></td>
<divclass="block">Caches accessors for the given method names.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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">Array containing the variable names that should be ignored by the codec.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<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>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a>>></code></td>
<divclass="block">Caches fields for faster access.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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">Array containing the variable names that should be turned into or
converted from references.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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 from fieldnames to XML attribute names.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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 from XML attribute names to fieldnames.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <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>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#mxObjectCodec(java.lang.Object)">mxObjectCodec</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> template)</code>
<divclass="block">Constructs a new codec for the specified template object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#mxObjectCodec(java.lang.Object, java.lang.String[], java.lang.String[], java.util.Map)">mxObjectCodec</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> template,
<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>[] exclude,
<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>[] idrefs,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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>> mapping)</code>
<divclass="block">Constructs a new codec for the specified template object.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#addObjectValue(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object)">addObjectValue</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> obj,
<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> fieldname,
<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> value,
<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> template)</code>
<divclass="block">Sets the decoded child node as a value of the given object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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/mxObjectCodec.html#afterDecode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">afterDecode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</code>
<divclass="block">Hook for subclassers to post-process the object after decoding.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#afterEncode(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)">afterEncode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Hook for subclassers to post-process the node for the given object after
encoding and return the post-processed node.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#beforeDecode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">beforeDecode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</code>
<divclass="block">Hook for subclassers to pre-process the node for the specified object
<tdclass="colFirst"><code><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/mxObjectCodec.html#beforeEncode(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)">beforeEncode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Hook for subclassers to pre-process the object before encoding.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#cloneTemplate(org.w3c.dom.Node)">cloneTemplate</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Returns a new instance of the template object for representing the given
node.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#convertValueFromXml(java.lang.Class, java.lang.Object)">convertValueFromXml</a></strong>(<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><?> type,
<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> value)</code>
<divclass="block">Converts XML attribute values to object of the given type.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#convertValueToXml(java.lang.Object)">convertValueToXml</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> value)</code>
<divclass="block">Converts true to "1" and false to "0".</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><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/mxObjectCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node)">decode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Parses the given node into the object or returns a new object
representing the given node.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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/mxObjectCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> into)</code>
<divclass="block">Parses the given node into the object or returns a new object
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decodeAttribute(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decodeAttribute</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> attr,
<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> obj)</code>
<divclass="block">Reads the given attribute into the specified object.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decodeAttributes(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decodeAttributes</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</code>
<divclass="block">Decodes all attributes of the given node using decodeAttribute.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decodeChild(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decodeChild</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> child,
<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> obj)</code>
<divclass="block">Reads the specified child into the given object.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decodeChildren(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decodeChildren</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</code>
<divclass="block">Decodec all children of the given node using decodeChild.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decodeNode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decodeNode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</code>
<divclass="block">Calls decodeAttributes and decodeChildren for the given node.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encode(com.mxgraph.io.mxCodec, java.lang.Object)">encode</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj)</code>
<divclass="block">Encodes the specified object and returns a node representing then given
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeElements(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)">encodeElements</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Encodes the child objects of arrays, maps and collections.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeFields(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)">encodeFields</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Encodes the declared fields of the given object into the given node.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeObject(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)">encodeObject</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Encodes the value of each member in then given obj
into the given node using <ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeFields(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)"><code>encodeFields(mxCodec, Object, Node)</code></a>
and <ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeElements(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)"><code>encodeElements(mxCodec, Object, Node)</code></a>.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeValue(com.mxgraph.io.mxCodec, java.lang.Object, java.lang.String, java.lang.Object, org.w3c.dom.Node)">encodeValue</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> fieldname,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Converts the given value according to the mappings
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#getAccessor(java.lang.Object, java.lang.reflect.Field, boolean)">getAccessor</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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field,
boolean isGetter)</code>
<divclass="block">Returns the accessor (getter, setter) for the specified field.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#getAttributeName(java.lang.String)">getAttributeName</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> fieldname)</code>
<divclass="block">Returns the XML node attribute name for the given Java field name.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#getField(java.lang.Object, java.lang.String)">getField</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> obj,
<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> fieldname)</code>
<divclass="block">Returns the field with the specified name.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#getFieldName(java.lang.String)">getFieldName</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> attributename)</code>
<divclass="block">Returns the Java field name for the given XML attribute name.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#getFieldTemplate(java.lang.Object, java.lang.String, org.w3c.dom.Node)">getFieldTemplate</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> obj,
<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> fieldname,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> child)</code>
<divclass="block">Returns the template instance for the given field.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#getFieldValue(java.lang.Object, java.lang.String)">getFieldValue</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> obj,
<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> fieldname)</code>
<divclass="block">Returns the value of the field with the specified name in the specified
object instance.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <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/mxObjectCodec.html#getFieldValueWithAccessor(java.lang.Object, java.lang.reflect.Field)">getFieldValueWithAccessor</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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field)</code>
<divclass="block">Returns the value of the field using the accessor for the field if one exists.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#getMethod(java.lang.Object, java.lang.String, java.lang.Class[])">getMethod</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> obj,
<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> methodname,
<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>[] params)</code>
<divclass="block">Returns the method with the specified signature.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><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">Returns the name used for the nodenames and lookup of the codec when
classes are encoded and nodes are decoded.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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>
<divclass="block">Returns the template object associated with this codec.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#isExcluded(java.lang.Object, java.lang.String, java.lang.Object, boolean)">isExcluded</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> obj,
<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> attr,
<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> value,
boolean write)</code>
<divclass="block">Returns true if the given attribute is to be ignored by the codec.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#isPrimitiveValue(java.lang.Object)">isPrimitiveValue</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> value)</code>
<divclass="block">Returns true if the given object is a primitive value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#isReference(java.lang.Object, java.lang.String, java.lang.Object, boolean)">isReference</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> obj,
<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> attr,
<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> value,
boolean isWrite)</code>
<divclass="block">Returns true if the given fieldname is to be treated as a textual
reference (ID).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#processInclude(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">processInclude</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> into)</code>
<divclass="block">Returns true if the given node is an include directive and executes the
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#setFieldValue(java.lang.Object, java.lang.String, java.lang.Object)">setFieldValue</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> obj,
<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> fieldname,
<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> value)</code>
<divclass="block">Sets the value of the field with the specified name
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#setFieldValueWithAccessor(java.lang.Object, java.lang.reflect.Field, java.lang.Object)">setFieldValueWithAccessor</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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field,
<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> value)</code>
<divclass="block">Sets the value of the given field using the accessor if one exists.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#writeAttribute(com.mxgraph.io.mxCodec, java.lang.Object, java.lang.String, java.lang.Object, org.w3c.dom.Node)">writeAttribute</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Writes the given value into node using writePrimitiveAttribute
or writeComplexAttribute depending on the type of the value.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#writeComplexAttribute(com.mxgraph.io.mxCodec, java.lang.Object, java.lang.String, java.lang.Object, org.w3c.dom.Node)">writeComplexAttribute</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Writes the given value as a child node of the given node.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxObjectCodec.html#writePrimitiveAttribute(com.mxgraph.io.mxCodec, java.lang.Object, java.lang.String, java.lang.Object, org.w3c.dom.Node)">writePrimitiveAttribute</a></strong>(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Writes the given value as an attribute of the given node.</div>
<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 <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> template</pre>
<divclass="block">Holds the template object associated with this codec.</div>
</li>
</ul>
<aname="exclude">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>exclude</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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>> exclude</pre>
<divclass="block">Array containing the variable names that should be ignored by the codec.</div>
</li>
</ul>
<aname="idrefs">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>idrefs</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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>> idrefs</pre>
<divclass="block">Array containing the variable names that should be turned into or
converted from references. See <mxCodec.getId> and <mxCodec.getObject>.</div>
</li>
</ul>
<aname="mapping">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mapping</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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>> mapping</pre>
<divclass="block">Maps from from fieldnames to XML attribute names.</div>
</li>
</ul>
<aname="reverse">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>reverse</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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>> reverse</pre>
<divclass="block">Maps from from XML attribute names to fieldnames.</div>
</li>
</ul>
<aname="accessors">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>accessors</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a>> accessors</pre>
<divclass="block">Caches accessors for the given method names.</div>
</li>
</ul>
<aname="fields">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>fields</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<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>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a>>> fields</pre>
<divclass="block">Caches fields for faster access.</div>
<pre>public mxObjectCodec(<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> template)</pre>
<divclass="block">Constructs a new codec for the specified template object.</div>
<pre>public mxObjectCodec(<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> template,
<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>[] exclude,
<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>[] idrefs,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</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>> mapping)</pre>
<divclass="block">Constructs a new codec for the specified template object. The variables
attributes. The argument is created as follows:</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>template</code> - Prototypical instance of the object to be encoded/decoded.</dd><dd><code>exclude</code> - Optional array of fieldnames to be ignored.</dd><dd><code>idrefs</code> - Optional array of fieldnames to be converted to/from references.</dd><dd><code>mapping</code> - Optional mapping from field- to attributenames.</dd></dl>
<pre>public <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()</pre>
<divclass="block">Returns the name used for the nodenames and lookup of the codec when
<pre>public <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> getTemplate()</pre>
<divclass="block">Returns the template object associated with this codec.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the template object.</dd></dl>
</li>
</ul>
<aname="cloneTemplate(org.w3c.dom.Node)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cloneTemplate</h4>
<pre>protected <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> cloneTemplate(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Returns a new instance of the template object for representing the given
node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>node</code> - XML node that the object is going to represent.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new template instance.</dd></dl>
<pre>public boolean isExcluded(<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> obj,
<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> attr,
<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> value,
boolean write)</pre>
<divclass="block">Returns true if the given attribute is to be ignored by the codec. This
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>obj</code> - Object instance that contains the field.</dd><dd><code>attr</code> - Fieldname of the field.</dd><dd><code>value</code> - Value of the field.</dd><dd><code>write</code> - Boolean indicating if the field is being encoded or
<pre>public boolean isReference(<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> obj,
<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> attr,
<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> value,
boolean isWrite)</pre>
<divclass="block">Returns true if the given fieldname is to be treated as a textual
is in <ahref="../../../com/mxgraph/io/mxObjectCodec.html#idrefs"><code>idrefs</code></a>.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>obj</code> - Object instance that contains the field.</dd><dd><code>attr</code> - Fieldname of the field.</dd><dd><code>value</code> - Value of the field.</dd><dd><code>isWrite</code> - Boolean indicating if the field is being encoded or
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> encode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj)</pre>
<divclass="block">Encodes the specified object and returns a node representing then given
<li>If the variable name is in <ahref="../../../com/mxgraph/io/mxObjectCodec.html#exclude"><code>exclude</code></a> then it is ignored.</li>
<li>If the variable name is in <ahref="../../../com/mxgraph/io/mxObjectCodec.html#idrefs"><code>idrefs</code></a> then
<ahref="../../../com/mxgraph/io/mxCodec.html#getId(java.lang.Object)"><code>mxCodec.getId(Object)</code></a> is used to replace the object with its ID.
If no ID exists for a variable in <ahref="../../../com/mxgraph/io/mxObjectCodec.html#idrefs"><code>idrefs</code></a> or if an object cannot be
encoded, a warning is printed to System.err.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object to be encoded.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the resulting XML node that represents the given object.</dd></dl>
<pre>protected void encodeObject(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Encodes the value of each member in then given obj
into the given node using <ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeFields(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)"><code>encodeFields(mxCodec, Object, Node)</code></a>
and <ahref="../../../com/mxgraph/io/mxObjectCodec.html#encodeElements(com.mxgraph.io.mxCodec, java.lang.Object, org.w3c.dom.Node)"><code>encodeElements(mxCodec, Object, Node)</code></a>.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object to be encoded.</dd><dd><code>node</code> - XML node that contains the encoded object.</dd></dl>
<pre>protected void encodeFields(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Encodes the declared fields of the given object into the given node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object whose fields should be encoded.</dd><dd><code>node</code> - XML node that contains the encoded object.</dd></dl>
<pre>protected void encodeElements(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Encodes the child objects of arrays, maps and collections.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object whose child objects should be encoded.</dd><dd><code>node</code> - XML node that contains the encoded object.</dd></dl>
<pre>protected void encodeValue(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> fieldname,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Converts the given value according to the mappings
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object whose field is going to be encoded.</dd><dd><code>fieldname</code> - Name if the field to be encoded.</dd><dd><code>value</code> - Value of the property to be encoded.</dd><dd><code>node</code> - XML node that contains the encoded object.</dd></dl>
</li>
</ul>
<aname="isPrimitiveValue(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isPrimitiveValue</h4>
<pre>protected boolean isPrimitiveValue(<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> value)</pre>
<divclass="block">Returns true if the given object is a primitive value.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Object that should be checked.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given object is a primitive value.</dd></dl>
<pre>protected void writeAttribute(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Writes the given value into node using writePrimitiveAttribute
or writeComplexAttribute depending on the type of the value.</div>
<pre>protected void writePrimitiveAttribute(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Writes the given value as an attribute of the given node.</div>
<pre>protected void writeComplexAttribute(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<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> attr,
<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> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Writes the given value as a child node of the given node.</div>
</li>
</ul>
<aname="convertValueToXml(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>convertValueToXml</h4>
<pre>protected <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> convertValueToXml(<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> value)</pre>
<divclass="block">Converts true to "1" and false to "0". All other values are ignored.</div>
<pre>protected <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> convertValueFromXml(<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><?> type,
<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> value)</pre>
<divclass="block">Converts XML attribute values to object of the given type.</div>
</li>
</ul>
<aname="getAttributeName(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getAttributeName</h4>
<pre>protected <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> getAttributeName(<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> fieldname)</pre>
<divclass="block">Returns the XML node attribute name for the given Java field name. That
is, it returns the mapping of the field name.</div>
</li>
</ul>
<aname="getFieldName(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getFieldName</h4>
<pre>protected <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> getFieldName(<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> attributename)</pre>
<divclass="block">Returns the Java field name for the given XML attribute name. That is, it
returns the reverse mapping of the attribute name.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>attributename</code> - The attribute name to be mapped.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>String that represents the mapped field name.</dd></dl>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> getField(<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> obj,
<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> fieldname)</pre>
<divclass="block">Returns the field with the specified name.</div>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a> getAccessor(<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field,
boolean isGetter)</pre>
<divclass="block">Returns the accessor (getter, setter) for the specified field.</div>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Method.html?is-external=true"title="class or interface in java.lang.reflect">Method</a> getMethod(<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> obj,
<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> methodname,
<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>[] params)</pre>
<divclass="block">Returns the method with the specified signature.</div>
<pre>protected <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> getFieldValue(<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> obj,
<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> fieldname)</pre>
<divclass="block">Returns the value of the field with the specified name in the specified
<pre>protected <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> getFieldValueWithAccessor(<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field)</pre>
<divclass="block">Returns the value of the field using the accessor for the field if one exists.</div>
<pre>protected void setFieldValue(<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> obj,
<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> fieldname,
<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> value)</pre>
<divclass="block">Sets the value of the field with the specified name
<pre>protected void setFieldValueWithAccessor(<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true"title="class or interface in java.lang.reflect">Field</a> field,
<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> value)</pre>
<divclass="block">Sets the value of the given field using the accessor if one exists.</div>
<pre>public <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> beforeEncode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Hook for subclassers to pre-process the object before encoding. This
encode to perform the default encoding into the given node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object to be encoded.</dd><dd><code>node</code> - XML node to encode the object into.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the object to be encoded by the default encoding.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> afterEncode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> enc,
<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> obj,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Hook for subclassers to post-process the node for the given object after
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enc</code> - Codec that controls the encoding process.</dd><dd><code>obj</code> - Object to be encoded.</dd><dd><code>node</code> - XML node that represents the default encoding.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the resulting node of the encoding.</dd></dl>
<pre>public <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> decode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Parses the given node into the object or returns a new object
representing the given node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dec</code> - Codec that controls the encoding process.</dd><dd><code>node</code> - XML node to be decoded.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the resulting object that represents the given XML node.</dd></dl>
<pre>public <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> decode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> into)</pre>
<divclass="block">Parses the given node into the object or returns a new object
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dec</code> - Codec that controls the encoding process.</dd><dd><code>node</code> - XML node to be decoded.</dd><dd><code>into</code> - Optional object to encode the node into.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the resulting object that represents the given XML node
or the object given to the method as the into parameter.</dd></dl>
<pre>protected void decodeNode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</pre>
<divclass="block">Calls decodeAttributes and decodeChildren for the given node.</div>
<pre>protected void decodeAttributes(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</pre>
<divclass="block">Decodes all attributes of the given node using decodeAttribute.</div>
<pre>protected void decodeAttribute(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> attr,
<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> obj)</pre>
<divclass="block">Reads the given attribute into the specified object.</div>
<pre>protected void decodeChildren(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</pre>
<divclass="block">Decodec all children of the given node using decodeChild.</div>
<pre>protected void decodeChild(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> child,
<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> obj)</pre>
<divclass="block">Reads the specified child into the given object.</div>
<pre>protected <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> getFieldTemplate(<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> obj,
<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> fieldname,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> child)</pre>
<divclass="block">Returns the template instance for the given field. This returns the
<pre>protected void addObjectValue(<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> obj,
<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> fieldname,
<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> value,
<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> template)</pre>
<divclass="block">Sets the decoded child node as a value of the given object. If the
<pre>public boolean processInclude(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> into)</pre>
<divclass="block">Returns true if the given node is an include directive and executes the
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dec</code> - Codec that controls the encoding/decoding process.</dd><dd><code>node</code> - XML node to be checked.</dd><dd><code>into</code> - Optional object to pass-thru to the codec.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given node was processed as an include.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> beforeDecode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</pre>
<divclass="block">Hook for subclassers to pre-process the node for the specified object
<ahref="../../../com/mxgraph/io/mxObjectCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node)"><code>decode(mxCodec, Node)</code></a>. The object is created based on the
function is used in <ahref="../../../com/mxgraph/io/mxObjectCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node)"><code>decode(mxCodec, Node)</code></a> to perform the
default decoding into the given object.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dec</code> - Codec that controls the decoding process.</dd><dd><code>node</code> - XML node to be decoded.</dd><dd><code>obj</code> - Object to encode the node into.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the node used for the default decoding.</dd></dl>
<pre>public <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> afterDecode(<ahref="../../../com/mxgraph/io/mxCodec.html"title="class in com.mxgraph.io">mxCodec</a> dec,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<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> obj)</pre>
<divclass="block">Hook for subclassers to post-process the object after decoding. This
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dec</code> - Codec that controls the decoding process.</dd><dd><code>node</code> - XML node to be decoded.</dd><dd><code>obj</code> - Object that represents the default decoding.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the result of the decoding process.</dd></dl>