<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>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">com.mxgraph.io.mxObjectCodec</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.io.mxStylesheetCodec</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxStylesheetCodec</B><DT>extends <AHREF="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</A></DL>
</PRE>
<P>
Codec for mxStylesheets. This class is created and registered
dynamically at load time and used implicitely via mxCodec
<THALIGN="left"><B>Fields inherited from class com.mxgraph.io.<AHREF="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</A></B></TH>
Constructs a new model codec.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../com/mxgraph/io/mxStylesheetCodec.html#mxStylesheetCodec(java.lang.Object)">mxStylesheetCodec</A></B>(<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>
<BR>
Constructs a new stylesheet codec for the given template.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../com/mxgraph/io/mxStylesheetCodec.html#mxStylesheetCodec(java.lang.Object, java.lang.String[], java.lang.String[], java.util.Map)">mxStylesheetCodec</A></B>(<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>
<BR>
Constructs a new model codec for the given arguments.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/io/mxStylesheetCodec.html#decode(com.mxgraph.io.mxCodec, org.w3c.dom.Node, java.lang.Object)">decode</A></B>(<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>
<BR>
Decodes the given mxStylesheet.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/io/mxStylesheetCodec.html#encode(com.mxgraph.io.mxCodec, java.lang.Object)">encode</A></B>(<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>
<BR>
Encodes the given mxStylesheet.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/io/mxStylesheetCodec.html#getStringValue(java.util.Map.Entry)">getStringValue</A></B>(<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>
<BR>
Returns the string for encoding the given value.</TD>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.io.<AHREF="../../../com/mxgraph/io/mxObjectCodec.html"title="class in com.mxgraph.io">mxObjectCodec</A></B></TH>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
public <B>mxStylesheetCodec</B>(<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>
<DL>
<DD>Constructs a new stylesheet codec for the given template.
public <B>mxStylesheetCodec</B>(<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>
<DL>
<DD>Constructs a new model codec for the given arguments.
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><B>encode</B>(<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>
<DL>
<DD>Encodes the given mxStylesheet.
<P>
<DD><DL>
<DT><B>Overrides:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>enc</CODE> - Codec that controls the encoding process.<DD><CODE>obj</CODE> - Object to be encoded.
<DT><B>Returns:</B><DD>Returns the resulting XML node that represents the given object.</DL>
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><B>getStringValue</B>(<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>
<DL>
<DD>Returns the string for encoding the given value.
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><B>decode</B>(<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>
<DL>
<DD>Decodes the given mxStylesheet.
<P>
<DD><DL>
<DT><B>Overrides:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dec</CODE> - Codec that controls the encoding process.<DD><CODE>node</CODE> - XML node to be decoded.<DD><CODE>into</CODE> - Optional object to encode the node into.
<DT><B>Returns:</B><DD>Returns the resulting object that represents the given XML node
or the object given to the method as the into parameter.</DL>