247 lines
16 KiB
HTML
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 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 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 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a9f9f2f0a5243b568ac6e8de2e2647039">ElementHandler</a> (Dictionary< string, string > atts)</td></tr>
|
|
<tr><td class="mdescLeft"> </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"> </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"> </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 </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"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a045e64337ad2560628dbe1a53243c0bc">ParseElement</a> (string tagName, Dictionary< string, string > atts)</td></tr>
|
|
<tr><td class="mdescLeft"> </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< string, string > atts, string key)" -->
|
|
string </td><td class="memItemRight" valign="bottom"><b>GetString</b> (Dictionary< string, string > 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< string, string > atts, string key, string defaultValue)" -->
|
|
string </td><td class="memItemRight" valign="bottom"><b>GetString</b> (Dictionary< string, string > 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< string, string > atts, string key)" -->
|
|
double </td><td class="memItemRight" valign="bottom"><b>GetDouble</b> (Dictionary< string, string > 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< string, string > atts, string key, double defaultValue)" -->
|
|
double </td><td class="memItemRight" valign="bottom"><b>GetDouble</b> (Dictionary< string, string > 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< string, string > atts, string key)" -->
|
|
int </td><td class="memItemRight" valign="bottom"><b>GetInt</b> (Dictionary< string, string > 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< string, string > atts, string key, int defaultValue)" -->
|
|
int </td><td class="memItemRight" valign="bottom"><b>GetInt</b> (Dictionary< string, string > 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< string, string > atts, string key)" -->
|
|
bool </td><td class="memItemRight" valign="bottom"><b>IsTrue</b> (Dictionary< string, string > 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< string, string > atts, string key, bool defaultValue)" -->
|
|
bool </td><td class="memItemRight" valign="bottom"><b>IsTrue</b> (Dictionary< string, string > atts, string key, bool defaultValue)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </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> </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"> </td><td class="mdescRight">Holds the current canvas. <a href="#a56892081b94e26a8e0a30479f7be4138"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Dictionary< string, <br class="typebreak"/>
|
|
ElementHandler > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a7a96643ffe5efc1c5443fc3e84de5d7a">handlers</a> = new Dictionary<string, ElementHandler>()</td></tr>
|
|
<tr><td class="mdescLeft"> </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> </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"> </td><td class="mdescRight">Sets or returns the current canvas. <a href="#a480dc9414a3f3f33eac65c2c34a8616f"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><h2>Constructor & 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> </td>
|
|
<td class="paramname"> <em>canvas</em></td>
|
|
<td> ) </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< string, string > 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< string, string > </td>
|
|
<td class="paramname"> <em>atts</em></td>
|
|
<td> ) </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> ) </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< string, string > 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 </td>
|
|
<td class="paramname"> <em>tagName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, string > </td>
|
|
<td class="paramname"> <em>atts</em></td><td> </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> </td><td>Name of the node to be parsed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>attrs</em> </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 </td>
|
|
<td class="paramname"> <em>reader</em></td>
|
|
<td> ) </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> </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<string, ElementHandler> <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a7a96643ffe5efc1c5443fc3e84de5d7a">com::mxgraph::mxSaxOutputHandler::handlers</a> = new Dictionary<string, ElementHandler>()<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
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
|
|
</body>
|
|
</html>
|