18
|
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>commons.Checker.Checker</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
|
|
18 <!-- Tree link -->
|
|
19 <th> <a
|
|
20 href="module-tree.html">Trees</a> </th>
|
|
21
|
|
22 <!-- Index link -->
|
|
23 <th> <a
|
|
24 href="identifier-index.html">Indices</a> </th>
|
|
25
|
|
26 <!-- Help link -->
|
|
27 <th> <a
|
|
28 href="help.html">Help</a> </th>
|
|
29
|
|
30 <th class="navbar" width="100%"></th>
|
|
31 </tr>
|
|
32 </table>
|
|
33 <table width="100%" cellpadding="0" cellspacing="0">
|
|
34 <tr valign="top">
|
|
35 <td width="100%">
|
|
36 <span class="breadcrumbs">
|
|
37 Package commons ::
|
|
38 <a href="commons.Checker-module.html">Module Checker</a> ::
|
|
39 Class Checker
|
|
40 </span>
|
|
41 </td>
|
|
42 <td>
|
|
43 <table cellpadding="0" cellspacing="0">
|
|
44 <!-- hide/show private -->
|
|
45 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
|
46 onclick="toggle_private();">hide private</a>]</span></td></tr>
|
|
47 <tr><td align="right"><span class="options"
|
|
48 >[<a href="frames.html" target="_top">frames</a
|
|
49 >] | <a href="commons.Checker.Checker-class.html"
|
|
50 target="_top">no frames</a>]</span></td></tr>
|
|
51 </table>
|
|
52 </td>
|
|
53 </tr>
|
|
54 </table>
|
|
55 <!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
56 <h1 class="epydoc">Class Checker</h1><p class="nomargin-top"><span class="codelink"><a href="commons.Checker-pysrc.html#Checker">source code</a></span></p>
|
|
57 <pre class="base-tree">
|
|
58 <a href="commons.Checker.IChecker-class.html">IChecker</a> --+
|
|
59 |
|
|
60 <strong class="uidshort">Checker</strong>
|
|
61 </pre>
|
|
62
|
|
63 <hr />
|
|
64 <p>A concrete checker implementation with a logging. Logger instance is a
|
|
65 singleton of logging module</p>
|
|
66
|
|
67 <!-- ==================== INSTANCE METHODS ==================== -->
|
|
68 <a name="section-InstanceMethods"></a>
|
|
69 <table class="summary" border="1" cellpadding="3"
|
|
70 cellspacing="0" width="100%" bgcolor="white">
|
|
71 <tr bgcolor="#70b0f0" class="table-header">
|
|
72 <td colspan="2" class="table-header">
|
|
73 <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
74 <tr valign="top">
|
|
75 <td align="left"><span class="table-header">Instance Methods</span></td>
|
|
76 <td align="right" valign="top"
|
|
77 ><span class="options">[<a href="#section-InstanceMethods"
|
|
78 class="privatelink" onclick="toggle_private();"
|
|
79 >hide private</a>]</span></td>
|
|
80 </tr>
|
|
81 </table>
|
|
82 </td>
|
|
83 </tr>
|
|
84 <tr>
|
|
85 <td width="15%" align="right" valign="top" class="summary">
|
|
86 <span class="summary-type"> </span>
|
|
87 </td><td class="summary">
|
|
88 <table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
89 <tr>
|
|
90 <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>
|
|
91 <td align="right" valign="top">
|
|
92 <span class="codelink"><a href="commons.Checker-pysrc.html#Checker.__init__">source code</a></span>
|
|
93
|
|
94 </td>
|
|
95 </tr>
|
|
96 </table>
|
|
97
|
|
98 </td>
|
|
99 </tr>
|
|
100 <tr class="private">
|
|
101 <td width="15%" align="right" valign="top" class="summary">
|
|
102 <span class="summary-type"> </span>
|
|
103 </td><td class="summary">
|
|
104 <table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
105 <tr>
|
|
106 <td><span class="summary-sig"><a name="_handle"></a><span class="summary-sig-name">_handle</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
107 <td align="right" valign="top">
|
|
108 <span class="codelink"><a href="commons.Checker-pysrc.html#Checker._handle">source code</a></span>
|
|
109
|
|
110 </td>
|
|
111 </tr>
|
|
112 </table>
|
|
113
|
|
114 </td>
|
|
115 </tr>
|
|
116 <tr>
|
|
117 <td width="15%" align="right" valign="top" class="summary">
|
|
118 <span class="summary-type"> </span>
|
|
119 </td><td class="summary">
|
|
120 <table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
121 <tr>
|
|
122 <td><span class="summary-sig"><a name="getLogger"></a><span class="summary-sig-name">getLogger</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
123 returns the logger instance</td>
|
|
124 <td align="right" valign="top">
|
|
125 <span class="codelink"><a href="commons.Checker-pysrc.html#Checker.getLogger">source code</a></span>
|
|
126
|
|
127 </td>
|
|
128 </tr>
|
|
129 </table>
|
|
130
|
|
131 </td>
|
|
132 </tr>
|
|
133 <tr>
|
|
134 <td width="15%" align="right" valign="top" class="summary">
|
|
135 <span class="summary-type"> </span>
|
|
136 </td><td class="summary">
|
|
137 <table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
138 <tr>
|
|
139 <td><span class="summary-sig"><a href="commons.Checker.Checker-class.html#setLogger" class="summary-sig-name">setLogger</a>(<span class="summary-sig-arg">self</span>,
|
|
140 <span class="summary-sig-arg">logger</span>)</span><br />
|
|
141 set (change) default logger</td>
|
|
142 <td align="right" valign="top">
|
|
143 <span class="codelink"><a href="commons.Checker-pysrc.html#Checker.setLogger">source code</a></span>
|
|
144
|
|
145 </td>
|
|
146 </tr>
|
|
147 </table>
|
|
148
|
|
149 </td>
|
|
150 </tr>
|
|
151 <tr>
|
|
152 <td colspan="2" class="summary">
|
|
153 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="commons.Checker.IChecker-class.html">IChecker</a></code></b>:
|
|
154 <code><a href="commons.Checker.IChecker-class.html#check">check</a></code>
|
|
155 </p>
|
|
156 </td>
|
|
157 </tr>
|
|
158 </table>
|
|
159 <!-- ==================== METHOD DETAILS ==================== -->
|
|
160 <a name="section-MethodDetails"></a>
|
|
161 <table class="details" border="1" cellpadding="3"
|
|
162 cellspacing="0" width="100%" bgcolor="white">
|
|
163 <tr bgcolor="#70b0f0" class="table-header">
|
|
164 <td colspan="2" class="table-header">
|
|
165 <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
166 <tr valign="top">
|
|
167 <td align="left"><span class="table-header">Method Details</span></td>
|
|
168 <td align="right" valign="top"
|
|
169 ><span class="options">[<a href="#section-MethodDetails"
|
|
170 class="privatelink" onclick="toggle_private();"
|
|
171 >hide private</a>]</span></td>
|
|
172 </tr>
|
|
173 </table>
|
|
174 </td>
|
|
175 </tr>
|
|
176 </table>
|
|
177 <a name="setLogger"></a>
|
|
178 <div>
|
|
179 <table class="details" border="1" cellpadding="3"
|
|
180 cellspacing="0" width="100%" bgcolor="white">
|
|
181 <tr><td>
|
|
182 <table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
183 <tr valign="top"><td>
|
|
184 <h3 class="epydoc"><span class="sig"><span class="sig-name">setLogger</span>(<span class="sig-arg">self</span>,
|
|
185 <span class="sig-arg">logger</span>)</span>
|
|
186 </h3>
|
|
187 </td><td align="right" valign="top"
|
|
188 ><span class="codelink"><a href="commons.Checker-pysrc.html#Checker.setLogger">source code</a></span>
|
|
189 </td>
|
|
190 </tr></table>
|
|
191
|
|
192 <p>set (change) default logger</p>
|
|
193 <dl class="fields">
|
|
194 <dt>Parameters:</dt>
|
|
195 <dd><ul class="nomargin-top">
|
|
196 <li><strong class="pname"><code>logger</code></strong> (class Logger) - a new logger</li>
|
|
197 </ul></dd>
|
|
198 </dl>
|
|
199 </td></tr></table>
|
|
200 </div>
|
|
201 <br />
|
|
202 <!-- ==================== NAVIGATION BAR ==================== -->
|
|
203 <table class="navbar" border="0" width="100%" cellpadding="0"
|
|
204 bgcolor="#a0c0ff" cellspacing="0">
|
|
205 <tr valign="middle">
|
|
206
|
|
207 <!-- Tree link -->
|
|
208 <th> <a
|
|
209 href="module-tree.html">Trees</a> </th>
|
|
210
|
|
211 <!-- Index link -->
|
|
212 <th> <a
|
|
213 href="identifier-index.html">Indices</a> </th>
|
|
214
|
|
215 <!-- Help link -->
|
|
216 <th> <a
|
|
217 href="help.html">Help</a> </th>
|
|
218
|
|
219 <th class="navbar" width="100%"></th>
|
|
220 </tr>
|
|
221 </table>
|
|
222 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
223 <tr>
|
|
224 <td align="left" class="footer">
|
|
225 Generated by Epydoc 3.0.1 on Fri Apr 10 16:39:01 2009
|
|
226 </td>
|
|
227 <td align="right" class="footer">
|
|
228 <a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
229 >http://epydoc.sourceforge.net</a>
|
|
230 </td>
|
|
231 </tr>
|
|
232 </table>
|
|
233
|
|
234 <script type="text/javascript">
|
|
235 <!--
|
|
236 // Private objects are initially displayed (because if
|
|
237 // javascript is turned off then we want them to be
|
|
238 // visible); but by default, we want to hide them. So hide
|
|
239 // them unless we have a cookie that says to show them.
|
|
240 checkCookie();
|
|
241 // -->
|
|
242 </script>
|
|
243 </body>
|
|
244 </html>
|