294 lines
17 KiB
HTML
294 lines
17 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.mxSaxOutputHandler 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_1mxSaxOutputHandler.html">mxSaxOutputHandler</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> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxSaxOutputHandler Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="com::mxgraph::mxSaxOutputHandler" -->
|
|
<p><a href="classcom_1_1mxgraph_1_1mxSaxOutputHandler-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">delegate void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">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="#a32b7804b0f34f1812e8e6798a76d12b5"></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#a16950e454cb330e9cb56d1d6b61110ce">mxSaxOutputHandler</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a090c7343b32565cc420c6ad650d4a4e6">canvas</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new sax output handler for the given canvas. <a href="#a16950e454cb330e9cb56d1d6b61110ce"></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#ace401fb8336a4fb794ee3e6812dd826d">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="#ace401fb8336a4fb794ee3e6812dd826d"></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#af472795d88e38941b6633d3662cafda3">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="#af472795d88e38941b6633d3662cafda3"></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"><a class="anchor" id="ada669aef921e221255c2ec47dbe7deb3"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetString" ref="ada669aef921e221255c2ec47dbe7deb3" 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="a0f35eacb0815cbeb2321c8e10aa7654a"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetString" ref="a0f35eacb0815cbeb2321c8e10aa7654a" 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="a2ee34b5e6842542d8a3c1c2dc879bc87"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetDouble" ref="a2ee34b5e6842542d8a3c1c2dc879bc87" 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="a266d93ad2e536dd800195249d7b8bc15"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetDouble" ref="a266d93ad2e536dd800195249d7b8bc15" 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="a8146bfdacf80e993196004e1c19ef360"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetInt" ref="a8146bfdacf80e993196004e1c19ef360" 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="aeb486fd312f088b9ae11ccc89b87744b"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::GetInt" ref="aeb486fd312f088b9ae11ccc89b87744b" 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="a78c6cdeec2e07f344b8c47d40d9a1b88"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::IsTrue" ref="a78c6cdeec2e07f344b8c47d40d9a1b88" 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="aa8d347cb86d96558dbad60edbcd63603"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::IsTrue" ref="aa8d347cb86d96558dbad60edbcd63603" 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#a1c0745a8acb4caa8c2055da89424b26f">InitHandlers</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
|
|
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#a090c7343b32565cc420c6ad650d4a4e6">canvas</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the current canvas. <a href="#a090c7343b32565cc420c6ad650d4a4e6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Dictionary< string, <br class="typebreak"/>
|
|
<a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">ElementHandler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#aeeed7cca44f0ed84f35540984120ac5d">handlers</a> = new Dictionary<string, <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">ElementHandler</a>>()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the handlers for specific XML nodes. <a href="#aeeed7cca44f0ed84f35540984120ac5d"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="properties"></a>
|
|
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#a0ce2fda006ffd1c9acf2034483300f24">Canvas</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the current canvas. <a href="#a0ce2fda006ffd1c9acf2034483300f24"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a16950e454cb330e9cb56d1d6b61110ce"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::mxSaxOutputHandler" ref="a16950e454cb330e9cb56d1d6b61110ce" args="(mxICanvas2D canvas)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a16950e454cb330e9cb56d1d6b61110ce">com.mxgraph.mxSaxOutputHandler.mxSaxOutputHandler</a> </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="a32b7804b0f34f1812e8e6798a76d12b5"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::ElementHandler" ref="a32b7804b0f34f1812e8e6798a76d12b5" args="(Dictionary< string, string > atts)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">delegate void <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">com.mxgraph.mxSaxOutputHandler.ElementHandler</a> </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="a1c0745a8acb4caa8c2055da89424b26f"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::InitHandlers" ref="a1c0745a8acb4caa8c2055da89424b26f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a1c0745a8acb4caa8c2055da89424b26f">com.mxgraph.mxSaxOutputHandler.InitHandlers</a> </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="af472795d88e38941b6633d3662cafda3"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::ParseElement" ref="af472795d88e38941b6633d3662cafda3" args="(string tagName, Dictionary< string, string > atts)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#af472795d88e38941b6633d3662cafda3">com.mxgraph.mxSaxOutputHandler.ParseElement</a> </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>
|
|
</tr>
|
|
<tr>
|
|
<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 class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">tagName</td><td>Name of the node to be parsed.</td></tr>
|
|
<tr><td class="paramname">attrs</td><td>Attributes of the node to be parsed.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ace401fb8336a4fb794ee3e6812dd826d"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::Read" ref="ace401fb8336a4fb794ee3e6812dd826d" args="(XmlReader reader)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#ace401fb8336a4fb794ee3e6812dd826d">com.mxgraph.mxSaxOutputHandler.Read</a> </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 class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">reader</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="a090c7343b32565cc420c6ad650d4a4e6"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::canvas" ref="a090c7343b32565cc420c6ad650d4a4e6" 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#a090c7343b32565cc420c6ad650d4a4e6">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="aeeed7cca44f0ed84f35540984120ac5d"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::handlers" ref="aeeed7cca44f0ed84f35540984120ac5d" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<string, <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">ElementHandler</a>> <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#aeeed7cca44f0ed84f35540984120ac5d">com.mxgraph.mxSaxOutputHandler.handlers</a> = new Dictionary<string, <a class="el" href="classcom_1_1mxgraph_1_1mxSaxOutputHandler.html#a32b7804b0f34f1812e8e6798a76d12b5">ElementHandler</a>>()<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="a0ce2fda006ffd1c9acf2034483300f24"></a><!-- doxytag: member="com::mxgraph::mxSaxOutputHandler::Canvas" ref="a0ce2fda006ffd1c9acf2034483300f24" 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#a0ce2fda006ffd1c9acf2034483300f24">com.mxgraph.mxSaxOutputHandler.Canvas</a><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><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Apr 8 2013 12:32:35 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>
|