285 lines
15 KiB
HTML
285 lines
15 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<title>mxGraph: com.mxgraph.mxStylesheetCodec Class Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div! -->
|
|
|
|
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
|
|
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">mxGraph
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- Generated by Doxygen 1.7.6.1 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><b>com</b> </li>
|
|
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
|
|
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html">mxStylesheetCodec</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxStylesheetCodec Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="com::mxgraph::mxStylesheetCodec" --><!-- doxytag: inherits="com::mxgraph::mxObjectCodec" -->
|
|
<p>Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via <a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html" title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> and the <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example of using this clas...">mxCodecRegistry</a>.
|
|
<a href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com.mxgraph.mxStylesheetCodec:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="classcom_1_1mxgraph_1_1mxStylesheetCodec.png" usemap="#com.mxgraph.mxStylesheetCodec_map" alt=""/>
|
|
<map id="com.mxgraph.mxStylesheetCodec_map" name="com.mxgraph.mxStylesheetCodec_map">
|
|
<area href="classcom_1_1mxgraph_1_1mxObjectCodec.html" title="Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme..." alt="com.mxgraph.mxObjectCodec" shape="rect" coords="0,0,201,24"/>
|
|
</map>
|
|
</div></div>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#aae4523ae4deace416b64b3af86322179">mxStylesheetCodec</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new stylesheet codec. <a href="#aae4523ae4deace416b64b3af86322179"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#ae93fb1c2b3b2e0b23d0a205a6818d85d">mxStylesheetCodec</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#ab96f31d7efa7d5d51a13062e1ba4ddae">template</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new stylesheet codec for the given template. <a href="#ae93fb1c2b3b2e0b23d0a205a6818d85d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#ac15736c471b050f39454361efed4bab7">mxStylesheetCodec</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#ab96f31d7efa7d5d51a13062e1ba4ddae">template</a>, String[] <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#afc2e8997b3371e5ae38ad67e9e404c58">exclude</a>, String[] <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a2c02744b7fd32e18ec3a54683d8ffff3">idrefs</a>, Dictionary< string, string > <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a84a82aa104ca8c7402f38f8aae0980c0">mapping</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new stylesheet codec for the given arguments. <a href="#ac15736c471b050f39454361efed4bab7"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">override XmlNode </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0d1d57effb1d0827d40ef39af0f4a5aa">Encode</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> enc, Object obj)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Encode the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. <a href="#a0d1d57effb1d0827d40ef39af0f4a5aa"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">override Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0b91a548bbfba3a0c29b929ca223f7a4">Decode</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> dec, XmlNode node, Object into)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decodes the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. <a href="#a0b91a548bbfba3a0c29b929ca223f7a4"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a9cc640d3a1ec3e4febb400e58a44ca5e">getStringValue</a> (KeyValuePair< string, Object > entry)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the string for encoding the given value. <a href="#a9cc640d3a1ec3e4febb400e58a44ca5e"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via <a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html" title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> and the <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example of using this clas...">mxCodecRegistry</a>. </p>
|
|
</div><hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="aae4523ae4deace416b64b3af86322179"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="aae4523ae4deace416b64b3af86322179" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#aae4523ae4deace416b64b3af86322179">com.mxgraph.mxStylesheetCodec.mxStylesheetCodec</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new stylesheet codec. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae93fb1c2b3b2e0b23d0a205a6818d85d"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="ae93fb1c2b3b2e0b23d0a205a6818d85d" args="(Object template)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#aae4523ae4deace416b64b3af86322179">com.mxgraph.mxStylesheetCodec.mxStylesheetCodec</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>template</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new stylesheet codec for the given template. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac15736c471b050f39454361efed4bab7"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="ac15736c471b050f39454361efed4bab7" args="(Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#aae4523ae4deace416b64b3af86322179">com.mxgraph.mxStylesheetCodec.mxStylesheetCodec</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>template</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String[] </td>
|
|
<td class="paramname"><em>exclude</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String[] </td>
|
|
<td class="paramname"><em>idrefs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, string > </td>
|
|
<td class="paramname"><em>mapping</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new stylesheet codec for the given arguments. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a0b91a548bbfba3a0c29b929ca223f7a4"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::Decode" ref="a0b91a548bbfba3a0c29b929ca223f7a4" args="(mxCodec dec, XmlNode node, Object into)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">override Object <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0b91a548bbfba3a0c29b929ca223f7a4">com.mxgraph.mxStylesheetCodec.Decode</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> </td>
|
|
<td class="paramname"><em>dec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XmlNode </td>
|
|
<td class="paramname"><em>node</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>into</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Decodes the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a27db4f4c90305c7707198e7e29ba1d09">com.mxgraph.mxObjectCodec</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0d1d57effb1d0827d40ef39af0f4a5aa"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::Encode" ref="a0d1d57effb1d0827d40ef39af0f4a5aa" args="(mxCodec enc, Object obj)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">override XmlNode <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0d1d57effb1d0827d40ef39af0f4a5aa">com.mxgraph.mxStylesheetCodec.Encode</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> </td>
|
|
<td class="paramname"><em>enc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>obj</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Encode the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#af54fb528308bc68c772398c0f42862ff">com.mxgraph.mxObjectCodec</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9cc640d3a1ec3e4febb400e58a44ca5e"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::getStringValue" ref="a9cc640d3a1ec3e4febb400e58a44ca5e" args="(KeyValuePair< string, Object > entry)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a9cc640d3a1ec3e4febb400e58a44ca5e">com.mxgraph.mxStylesheetCodec.getStringValue</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">KeyValuePair< string, Object > </td>
|
|
<td class="paramname"><em>entry</em></td><td>)</td>
|
|
<td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the string for encoding the given value. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/io/mxStylesheetCodec.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Wed Sep 25 2013 12:53:19 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.7.6.1
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|