maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSa...

247 lines
16 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"/>
<title>mxGraph: com::mxgraph::mxSaxOutputHandler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</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 class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html">mxSaxOutputHandler</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxSaxOutputHandler Class Reference</h1><!-- doxytag: class="com::mxgraph::mxSaxOutputHandler" -->
<p><a href="classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">delegate void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a9f9f2f0a5243b568ac6e8de2e2647039">ElementHandler</a> (Dictionary&lt; string, string &gt; atts)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Defines the requirements for an object that parses a node. <a href="#a9f9f2f0a5243b568ac6e8de2e2647039"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a77a3d0762140846abd5cad1722c265c8">mxSaxOutputHandler</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a56892081b94e26a8e0a30479f7be4138">canvas</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new sax output handler for the given canvas. <a href="#a77a3d0762140846abd5cad1722c265c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a34629d7d36006a014933bba3fbc005a3">Read</a> (XmlReader reader)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads the given display XML data and parses all elements. <a href="#a34629d7d36006a014933bba3fbc005a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a045e64337ad2560628dbe1a53243c0bc">ParseElement</a> (string tagName, Dictionary&lt; string, string &gt; atts)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parses the given element and paints it onto the canvas. <a href="#a045e64337ad2560628dbe1a53243c0bc"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7c657c0f6bc7048d5be20e5e7141f9a"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetString" ref="ab7c657c0f6bc7048d5be20e5e7141f9a" args="(Dictionary&lt; string, string &gt; atts, string key)" -->
string&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetString</b> (Dictionary&lt; string, string &gt; atts, string key)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8658d72b2524b33e409de3d00a2a307"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetString" ref="ad8658d72b2524b33e409de3d00a2a307" args="(Dictionary&lt; string, string &gt; atts, string key, string defaultValue)" -->
string&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetString</b> (Dictionary&lt; string, string &gt; atts, string key, string defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad67f95e70ca0de2ddc00bcfd32c919d6"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetDouble" ref="ad67f95e70ca0de2ddc00bcfd32c919d6" args="(Dictionary&lt; string, string &gt; atts, string key)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetDouble</b> (Dictionary&lt; string, string &gt; atts, string key)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9da66e0bffe8914772cbbd4fa2188de5"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetDouble" ref="a9da66e0bffe8914772cbbd4fa2188de5" args="(Dictionary&lt; string, string &gt; atts, string key, double defaultValue)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetDouble</b> (Dictionary&lt; string, string &gt; atts, string key, double defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acaad5f16b06acf3f5bd6df9d211a8739"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetInt" ref="acaad5f16b06acf3f5bd6df9d211a8739" args="(Dictionary&lt; string, string &gt; atts, string key)" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetInt</b> (Dictionary&lt; string, string &gt; atts, string key)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a063874c39f9c00bf4a63791c31e48e3c"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetInt" ref="a063874c39f9c00bf4a63791c31e48e3c" args="(Dictionary&lt; string, string &gt; atts, string key, int defaultValue)" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetInt</b> (Dictionary&lt; string, string &gt; atts, string key, int defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5aa4661ef411b71ddae169361acc5f4b"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::IsTrue" ref="a5aa4661ef411b71ddae169361acc5f4b" args="(Dictionary&lt; string, string &gt; atts, string key)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsTrue</b> (Dictionary&lt; string, string &gt; atts, string key)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aafd64966ff85a8904342606a5478bf49"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::IsTrue" ref="aafd64966ff85a8904342606a5478bf49" args="(Dictionary&lt; string, string &gt; atts, string key, bool defaultValue)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsTrue</b> (Dictionary&lt; string, string &gt; atts, string key, bool defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#aa07ba987b0f6a422e035f19d41c2f1ae">InitHandlers</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a56892081b94e26a8e0a30479f7be4138">canvas</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holds the current canvas. <a href="#a56892081b94e26a8e0a30479f7be4138"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; string, <br class="typebreak"/>
ElementHandler &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a7a96643ffe5efc1c5443fc3e84de5d7a">handlers</a> = new Dictionary&lt;string, ElementHandler&gt;()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holds the handlers for specific XML nodes. <a href="#a7a96643ffe5efc1c5443fc3e84de5d7a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a480dc9414a3f3f33eac65c2c34a8616f">Canvas</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or returns the current canvas. <a href="#a480dc9414a3f3f33eac65c2c34a8616f"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a77a3d0762140846abd5cad1722c265c8"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::mxSaxOutputHandler" ref="a77a3d0762140846abd5cad1722c265c8" args="(mxICanvas2D canvas)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxSaxOutputHandler::mxSaxOutputHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a>&nbsp;</td>
<td class="paramname"> <em>canvas</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new sax output handler for the given canvas. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9f9f2f0a5243b568ac6e8de2e2647039"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::ElementHandler" ref="a9f9f2f0a5243b568ac6e8de2e2647039" args="(Dictionary&lt; string, string &gt; atts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">delegate void com::mxgraph::mxSaxOutputHandler::ElementHandler </td>
<td>(</td>
<td class="paramtype">Dictionary&lt; string, string &gt;&nbsp;</td>
<td class="paramname"> <em>atts</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Defines the requirements for an object that parses a node. </p>
</div>
</div>
<a class="anchor" id="aa07ba987b0f6a422e035f19d41c2f1ae"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::InitHandlers" ref="aa07ba987b0f6a422e035f19d41c2f1ae" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxSaxOutputHandler::InitHandlers </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a045e64337ad2560628dbe1a53243c0bc"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::ParseElement" ref="a045e64337ad2560628dbe1a53243c0bc" args="(string tagName, Dictionary&lt; string, string &gt; atts)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxSaxOutputHandler::ParseElement </td>
<td>(</td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>tagName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, string &gt;&nbsp;</td>
<td class="paramname"> <em>atts</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parses the given element and paints it onto the canvas. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>tagName</em>&nbsp;</td><td>Name of the node to be parsed.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrs</em>&nbsp;</td><td>Attributes of the node to be parsed.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a34629d7d36006a014933bba3fbc005a3"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::Read" ref="a34629d7d36006a014933bba3fbc005a3" args="(XmlReader reader)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxSaxOutputHandler::Read </td>
<td>(</td>
<td class="paramtype">XmlReader&nbsp;</td>
<td class="paramname"> <em>reader</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reads the given display XML data and parses all elements. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>reader</em>&nbsp;</td><td>Reader that represents the display XML data.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a56892081b94e26a8e0a30479f7be4138"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::canvas" ref="a56892081b94e26a8e0a30479f7be4138" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a56892081b94e26a8e0a30479f7be4138">com::mxgraph::mxSaxOutputHandler::canvas</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the current canvas. </p>
</div>
</div>
<a class="anchor" id="a7a96643ffe5efc1c5443fc3e84de5d7a"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::handlers" ref="a7a96643ffe5efc1c5443fc3e84de5d7a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Dictionary&lt;string, ElementHandler&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a7a96643ffe5efc1c5443fc3e84de5d7a">com::mxgraph::mxSaxOutputHandler::handlers</a> = new Dictionary&lt;string, ElementHandler&gt;()<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the handlers for specific XML nodes. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="a480dc9414a3f3f33eac65c2c34a8616f"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::Canvas" ref="a480dc9414a3f3f33eac65c2c34a8616f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a> com::mxgraph::mxSaxOutputHandler::Canvas<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the current canvas. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/reader/mxSaxOutputHandler.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Dec 18 13:18:35 2012 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>