<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><ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">com.mxgraph.io.mxObjectCodec</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.io.mxStylesheetCodec</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxStylesheetCodec</span>
extends <ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></pre>
<divclass="block">Codec for mxStylesheets. This class is created and registered
<h3>Fields inherited from class com.mxgraph.io.<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></h3>
<divclass="block">Constructs a new model codec.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/io/mxStylesheetCodec.html#mxStylesheetCodec(java.lang.Object)">mxStylesheetCodec</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 stylesheet codec for the given template.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/io/mxStylesheetCodec.html#mxStylesheetCodec(java.lang.Object, java.lang.String[], java.lang.String[], java.util.Map)">mxStylesheetCodec</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 model codec for the given arguments.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</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/mxStylesheetCodec.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">Decodes the given mxStylesheet.</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/mxStylesheetCodec.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 given mxStylesheet.</div>
</td>
</tr>
<trclass="altColor">
<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/mxStylesheetCodec.html#getStringValue(java.util.Map.Entry)">getStringValue</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true"title="class or interface in java.util">Map.Entry</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/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> entry)</code>
<divclass="block">Returns the string for encoding the given value.</div>
<h3>Methods inherited from class com.mxgraph.io.<ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></h3>
<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>
<divclass="block">Constructs a new model codec.</div>
</li>
</ul>
<aname="mxStylesheetCodec(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mxStylesheetCodec</h4>
<pre>public mxStylesheetCodec(<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 stylesheet codec for the given template.</div>
<pre>public mxStylesheetCodec(<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 model codec for the given arguments.</div>
<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 given mxStylesheet.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/io/mxObjectCodec.html#encode(com.mxgraph.io.mxCodec, java.lang.Object)">encode</a></code> in class <code><ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
<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>
</li>
</ul>
<aname="getStringValue(java.util.Map.Entry)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStringValue</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> getStringValue(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true"title="class or interface in java.util">Map.Entry</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/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> entry)</pre>
<divclass="block">Returns the string for encoding the given value.</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> 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">Decodes the given mxStylesheet.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/io/mxObjectCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decode</a></code> in class <code><ahref="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
<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>