admin | bae64d8 | 2013-08-01 10:50:15 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ascii"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 3 | "DTD/xhtml1-transitional.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 5 | <head> |
| 6 | <title>TestON.core.xmlparser.xmlparser</title> |
| 7 | <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
| 8 | <script type="text/javascript" src="epydoc.js"></script> |
| 9 | </head> |
| 10 | |
| 11 | <body bgcolor="white" text="black" link="blue" vlink="#204080" |
| 12 | alink="#204080"> |
| 13 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 14 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 15 | bgcolor="#a0c0ff" cellspacing="0"> |
| 16 | <tr valign="middle"> |
| 17 | <!-- Home link --> |
| 18 | <th> <a |
| 19 | href="TestON-module.html">Home</a> </th> |
| 20 | |
| 21 | <!-- Tree link --> |
| 22 | <th> <a |
| 23 | href="module-tree.html">Trees</a> </th> |
| 24 | |
| 25 | <!-- Index link --> |
| 26 | <th> <a |
| 27 | href="identifier-index.html">Indices</a> </th> |
| 28 | |
| 29 | <!-- Help link --> |
| 30 | <th> <a |
| 31 | href="help.html">Help</a> </th> |
| 32 | |
| 33 | <th class="navbar" width="100%"></th> |
| 34 | </tr> |
| 35 | </table> |
| 36 | <table width="100%" cellpadding="0" cellspacing="0"> |
| 37 | <tr valign="top"> |
| 38 | <td width="100%"> |
| 39 | <span class="breadcrumbs"> |
| 40 | <a href="TestON-module.html">Package TestON</a> :: |
| 41 | <a href="TestON.core-module.html">Package core</a> :: |
| 42 | <a href="TestON.core.xmlparser-module.html">Module xmlparser</a> :: |
| 43 | Class xmlparser |
| 44 | </span> |
| 45 | </td> |
| 46 | <td> |
| 47 | <table cellpadding="0" cellspacing="0"> |
| 48 | <!-- hide/show private --> |
| 49 | <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
| 50 | onclick="toggle_private();">hide private</a>]</span></td></tr> |
| 51 | <tr><td align="right"><span class="options" |
| 52 | >[<a href="frames.html" target="_top">frames</a |
| 53 | >] | <a href="TestON.core.xmlparser.xmlparser-class.html" |
| 54 | target="_top">no frames</a>]</span></td></tr> |
| 55 | </table> |
| 56 | </td> |
| 57 | </tr> |
| 58 | </table> |
| 59 | <!-- ==================== CLASS DESCRIPTION ==================== --> |
| 60 | <h1 class="epydoc">Class xmlparser</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.core.xmlparser-pysrc.html#xmlparser">source code</a></span></p> |
| 61 | <!-- ==================== INSTANCE METHODS ==================== --> |
| 62 | <a name="section-InstanceMethods"></a> |
| 63 | <table class="summary" border="1" cellpadding="3" |
| 64 | cellspacing="0" width="100%" bgcolor="white"> |
| 65 | <tr bgcolor="#70b0f0" class="table-header"> |
| 66 | <td colspan="2" class="table-header"> |
| 67 | <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 68 | <tr valign="top"> |
| 69 | <td align="left"><span class="table-header">Instance Methods</span></td> |
| 70 | <td align="right" valign="top" |
| 71 | ><span class="options">[<a href="#section-InstanceMethods" |
| 72 | class="privatelink" onclick="toggle_private();" |
| 73 | >hide private</a>]</span></td> |
| 74 | </tr> |
| 75 | </table> |
| 76 | </td> |
| 77 | </tr> |
| 78 | <tr> |
| 79 | <td width="15%" align="right" valign="top" class="summary"> |
| 80 | <span class="summary-type"> </span> |
| 81 | </td><td class="summary"> |
| 82 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 83 | <tr> |
| 84 | <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>)</span></td> |
| 85 | <td align="right" valign="top"> |
| 86 | <span class="codelink"><a href="TestON.core.xmlparser-pysrc.html#xmlparser.__init__">source code</a></span> |
| 87 | |
| 88 | </td> |
| 89 | </tr> |
| 90 | </table> |
| 91 | |
| 92 | </td> |
| 93 | </tr> |
| 94 | <tr> |
| 95 | <td width="15%" align="right" valign="top" class="summary"> |
| 96 | <span class="summary-type"> </span> |
| 97 | </td><td class="summary"> |
| 98 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 99 | <tr> |
| 100 | <td><span class="summary-sig"><a name="parse"></a><span class="summary-sig-name">parse</span>(<span class="summary-sig-arg">self</span>, |
| 101 | <span class="summary-sig-arg">fileName</span>)</span><br /> |
| 102 | This will parse the params or topo or cfg file and return content in |
| 103 | the file as Dictionary</td> |
| 104 | <td align="right" valign="top"> |
| 105 | <span class="codelink"><a href="TestON.core.xmlparser-pysrc.html#xmlparser.parse">source code</a></span> |
| 106 | |
| 107 | </td> |
| 108 | </tr> |
| 109 | </table> |
| 110 | |
| 111 | </td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td width="15%" align="right" valign="top" class="summary"> |
| 115 | <span class="summary-type"> </span> |
| 116 | </td><td class="summary"> |
| 117 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 118 | <tr> |
| 119 | <td><span class="summary-sig"><a name="parseParams"></a><span class="summary-sig-name">parseParams</span>(<span class="summary-sig-arg">self</span>, |
| 120 | <span class="summary-sig-arg">paramsPath</span>)</span><br /> |
| 121 | It will take the params file path and will return the params |
| 122 | dictionary</td> |
| 123 | <td align="right" valign="top"> |
| 124 | <span class="codelink"><a href="TestON.core.xmlparser-pysrc.html#xmlparser.parseParams">source code</a></span> |
| 125 | |
| 126 | </td> |
| 127 | </tr> |
| 128 | </table> |
| 129 | |
| 130 | </td> |
| 131 | </tr> |
| 132 | <tr> |
| 133 | <td width="15%" align="right" valign="top" class="summary"> |
| 134 | <span class="summary-type"> </span> |
| 135 | </td><td class="summary"> |
| 136 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| 137 | <tr> |
| 138 | <td><span class="summary-sig"><a name="parseTopology"></a><span class="summary-sig-name">parseTopology</span>(<span class="summary-sig-arg">self</span>, |
| 139 | <span class="summary-sig-arg">topologyPath</span>)</span><br /> |
| 140 | It will take topology file path and will return topology dictionary</td> |
| 141 | <td align="right" valign="top"> |
| 142 | <span class="codelink"><a href="TestON.core.xmlparser-pysrc.html#xmlparser.parseTopology">source code</a></span> |
| 143 | |
| 144 | </td> |
| 145 | </tr> |
| 146 | </table> |
| 147 | |
| 148 | </td> |
| 149 | </tr> |
| 150 | </table> |
| 151 | <!-- ==================== NAVIGATION BAR ==================== --> |
| 152 | <table class="navbar" border="0" width="100%" cellpadding="0" |
| 153 | bgcolor="#a0c0ff" cellspacing="0"> |
| 154 | <tr valign="middle"> |
| 155 | <!-- Home link --> |
| 156 | <th> <a |
| 157 | href="TestON-module.html">Home</a> </th> |
| 158 | |
| 159 | <!-- Tree link --> |
| 160 | <th> <a |
| 161 | href="module-tree.html">Trees</a> </th> |
| 162 | |
| 163 | <!-- Index link --> |
| 164 | <th> <a |
| 165 | href="identifier-index.html">Indices</a> </th> |
| 166 | |
| 167 | <!-- Help link --> |
| 168 | <th> <a |
| 169 | href="help.html">Help</a> </th> |
| 170 | |
| 171 | <th class="navbar" width="100%"></th> |
| 172 | </tr> |
| 173 | </table> |
| 174 | <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
| 175 | <tr> |
| 176 | <td align="left" class="footer"> |
| 177 | Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013 |
| 178 | </td> |
| 179 | <td align="right" class="footer"> |
| 180 | <a target="mainFrame" href="http://epydoc.sourceforge.net" |
| 181 | >http://epydoc.sourceforge.net</a> |
| 182 | </td> |
| 183 | </tr> |
| 184 | </table> |
| 185 | |
| 186 | <script type="text/javascript"> |
| 187 | <!-- |
| 188 | // Private objects are initially displayed (because if |
| 189 | // javascript is turned off then we want them to be |
| 190 | // visible); but by default, we want to hide them. So hide |
| 191 | // them unless we have a cookie that says to show them. |
| 192 | checkCookie(); |
| 193 | // --> |
| 194 | </script> |
| 195 | </body> |
| 196 | </html> |