|
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>configuration.XMLConfiguration</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 <a href="configuration-module.html">Module configuration</a> :: |
|
38 Class XMLConfiguration |
|
39 </span> |
|
40 </td> |
|
41 <td> |
|
42 <table cellpadding="0" cellspacing="0"> |
|
43 <!-- hide/show private --> |
|
44 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
45 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
46 <tr><td align="right"><span class="options" |
|
47 >[<a href="frames.html" target="_top">frames</a |
|
48 >] | <a href="configuration.XMLConfiguration-class.html" |
|
49 target="_top">no frames</a>]</span></td></tr> |
|
50 </table> |
|
51 </td> |
|
52 </tr> |
|
53 </table> |
|
54 <!-- ==================== CLASS DESCRIPTION ==================== --> |
|
55 <h1 class="epydoc">Class XMLConfiguration</h1><span class="codelink"><a href="configuration-pysrc.html#XMLConfiguration">source code</a></span><br /><br /> |
|
56 <pre class="base-tree"> |
|
57 object --+ |
|
58 | |
|
59 UserDict.DictMixin --+ |
|
60 | |
|
61 <a href="configuration.Configuration-class.html">Configuration</a> --+ |
|
62 | |
|
63 <a href="configuration.HierarchicalConfiguration-class.html">HierarchicalConfiguration</a> --+ |
|
64 | |
|
65 <strong class="uidshort">XMLConfiguration</strong> |
|
66 </pre> |
|
67 |
|
68 <hr /> |
|
69 A XML-based hierarchical configuration.<br /><br /> |
|
70 |
|
71 <!-- ==================== INSTANCE METHODS ==================== --> |
|
72 <a name="section-InstanceMethods"></a> |
|
73 <table class="summary" border="1" cellpadding="3" |
|
74 cellspacing="0" width="100%" bgcolor="white"> |
|
75 <tr bgcolor="#70b0f0" class="table-header"> |
|
76 <td colspan="2" class="table-header"> |
|
77 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
78 <tr valign="top"> |
|
79 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
80 <td align="right" valign="top" |
|
81 ><span class="options">[<a href="#section-InstanceMethods" |
|
82 class="privatelink" onclick="toggle_private();" |
|
83 >hide private</a>]</span></td> |
|
84 </tr> |
|
85 </table> |
|
86 </td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td width="15%" align="right" valign="top" class="summary"> |
|
90 <span class="summary-type"> </span> |
|
91 </td><td class="summary"> |
|
92 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
93 <tr> |
|
94 <td><span class="summary-sig"><a href="configuration.XMLConfiguration-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
95 <span class="summary-sig-arg">file_</span>)</span><br /> |
|
96 Initialization.</td> |
|
97 <td align="right" valign="top"> |
|
98 <span class="codelink"><a href="configuration-pysrc.html#XMLConfiguration.__init__">source code</a></span> |
|
99 |
|
100 </td> |
|
101 </tr> |
|
102 </table> |
|
103 |
|
104 </td> |
|
105 </tr> |
|
106 <tr> |
|
107 <td colspan="2" class="summary"> |
|
108 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="configuration.HierarchicalConfiguration-class.html">HierarchicalConfiguration</a></code></b>: |
|
109 <code><a href="configuration.HierarchicalConfiguration-class.html#__getitem__">__getitem__</a></code> |
|
110 </p> |
|
111 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="configuration.Configuration-class.html">Configuration</a></code></b>: |
|
112 <code><a href="configuration.Configuration-class.html#__delitem__">__delitem__</a></code>, |
|
113 <code><a href="configuration.Configuration-class.html#__setitem__">__setitem__</a></code>, |
|
114 <code><a href="configuration.Configuration-class.html#__str__">__str__</a></code>, |
|
115 <code><a href="configuration.Configuration-class.html#get">get</a></code>, |
|
116 <code><a href="configuration.Configuration-class.html#get_boolean">get_boolean</a></code>, |
|
117 <code><a href="configuration.Configuration-class.html#get_int">get_int</a></code>, |
|
118 <code><a href="configuration.Configuration-class.html#get_list">get_list</a></code>, |
|
119 <code><a href="configuration.Configuration-class.html#interpolate">interpolate</a></code>, |
|
120 <code><a href="configuration.Configuration-class.html#keys">keys</a></code>, |
|
121 <code><a href="configuration.Configuration-class.html#match_name">match_name</a></code> |
|
122 </p> |
|
123 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
124 <code>__delattr__</code>, |
|
125 <code>__getattribute__</code>, |
|
126 <code>__hash__</code>, |
|
127 <code>__new__</code>, |
|
128 <code>__reduce__</code>, |
|
129 <code>__reduce_ex__</code>, |
|
130 <code>__repr__</code>, |
|
131 <code>__setattr__</code> |
|
132 </p> |
|
133 <p class="indent-wrapped-lines"><b>Inherited from <code>UserDict.DictMixin</code></b>: |
|
134 <code>__cmp__</code>, |
|
135 <code>__contains__</code>, |
|
136 <code>__iter__</code>, |
|
137 <code>__len__</code>, |
|
138 <code>clear</code>, |
|
139 <code>has_key</code>, |
|
140 <code>items</code>, |
|
141 <code>iteritems</code>, |
|
142 <code>iterkeys</code>, |
|
143 <code>itervalues</code>, |
|
144 <code>pop</code>, |
|
145 <code>popitem</code>, |
|
146 <code>setdefault</code>, |
|
147 <code>update</code>, |
|
148 <code>values</code> |
|
149 </p> |
|
150 </td> |
|
151 </tr> |
|
152 </table> |
|
153 <!-- ==================== CLASS VARIABLES ==================== --> |
|
154 <a name="section-ClassVariables"></a> |
|
155 <table class="summary" border="1" cellpadding="3" |
|
156 cellspacing="0" width="100%" bgcolor="white"> |
|
157 <tr bgcolor="#70b0f0" class="table-header"> |
|
158 <td colspan="2" class="table-header"> |
|
159 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
160 <tr valign="top"> |
|
161 <td align="left"><span class="table-header">Class Variables</span></td> |
|
162 <td align="right" valign="top" |
|
163 ><span class="options">[<a href="#section-ClassVariables" |
|
164 class="privatelink" onclick="toggle_private();" |
|
165 >hide private</a>]</span></td> |
|
166 </tr> |
|
167 </table> |
|
168 </td> |
|
169 </tr> |
|
170 <tr> |
|
171 <td colspan="2" class="summary"> |
|
172 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="configuration.Configuration-class.html">Configuration</a></code></b>: |
|
173 <code><a href="configuration.Configuration-class.html#key_re">key_re</a></code> |
|
174 </p> |
|
175 </td> |
|
176 </tr> |
|
177 </table> |
|
178 <!-- ==================== PROPERTIES ==================== --> |
|
179 <a name="section-Properties"></a> |
|
180 <table class="summary" border="1" cellpadding="3" |
|
181 cellspacing="0" width="100%" bgcolor="white"> |
|
182 <tr bgcolor="#70b0f0" class="table-header"> |
|
183 <td colspan="2" class="table-header"> |
|
184 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
185 <tr valign="top"> |
|
186 <td align="left"><span class="table-header">Properties</span></td> |
|
187 <td align="right" valign="top" |
|
188 ><span class="options">[<a href="#section-Properties" |
|
189 class="privatelink" onclick="toggle_private();" |
|
190 >hide private</a>]</span></td> |
|
191 </tr> |
|
192 </table> |
|
193 </td> |
|
194 </tr> |
|
195 <tr> |
|
196 <td colspan="2" class="summary"> |
|
197 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
198 <code>__class__</code> |
|
199 </p> |
|
200 </td> |
|
201 </tr> |
|
202 </table> |
|
203 <!-- ==================== METHOD DETAILS ==================== --> |
|
204 <a name="section-MethodDetails"></a> |
|
205 <table class="details" border="1" cellpadding="3" |
|
206 cellspacing="0" width="100%" bgcolor="white"> |
|
207 <tr bgcolor="#70b0f0" class="table-header"> |
|
208 <td colspan="2" class="table-header"> |
|
209 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
210 <tr valign="top"> |
|
211 <td align="left"><span class="table-header">Method Details</span></td> |
|
212 <td align="right" valign="top" |
|
213 ><span class="options">[<a href="#section-MethodDetails" |
|
214 class="privatelink" onclick="toggle_private();" |
|
215 >hide private</a>]</span></td> |
|
216 </tr> |
|
217 </table> |
|
218 </td> |
|
219 </tr> |
|
220 </table> |
|
221 <a name="__init__"></a> |
|
222 <div> |
|
223 <table class="details" border="1" cellpadding="3" |
|
224 cellspacing="0" width="100%" bgcolor="white"> |
|
225 <tr><td> |
|
226 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
227 <tr valign="top"><td> |
|
228 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
229 <span class="sig-arg">file_</span>)</span> |
|
230 <br /><em class="fname">(Constructor)</em> |
|
231 </h3> |
|
232 </td><td align="right" valign="top" |
|
233 ><span class="codelink"><a href="configuration-pysrc.html#XMLConfiguration.__init__">source code</a></span> |
|
234 </td> |
|
235 </table> |
|
236 |
|
237 Initialization. |
|
238 <dl class="fields"> |
|
239 <dt>Overrides: |
|
240 <a href="configuration.HierarchicalConfiguration-class.html#__init__">HierarchicalConfiguration.__init__</a> |
|
241 </dt> |
|
242 </dl> |
|
243 </td></tr></table> |
|
244 </div> |
|
245 <br /> |
|
246 <!-- ==================== NAVIGATION BAR ==================== --> |
|
247 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
248 bgcolor="#a0c0ff" cellspacing="0"> |
|
249 <tr valign="middle"> |
|
250 |
|
251 <!-- Tree link --> |
|
252 <th> <a |
|
253 href="module-tree.html">Trees</a> </th> |
|
254 |
|
255 <!-- Index link --> |
|
256 <th> <a |
|
257 href="identifier-index.html">Indices</a> </th> |
|
258 |
|
259 <!-- Help link --> |
|
260 <th> <a |
|
261 href="help.html">Help</a> </th> |
|
262 |
|
263 <th class="navbar" width="100%"></th> |
|
264 </tr> |
|
265 </table> |
|
266 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
267 <tr> |
|
268 <td align="left" class="footer"> |
|
269 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:18 2009 |
|
270 </td> |
|
271 <td align="right" class="footer"> |
|
272 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
273 </td> |
|
274 </tr> |
|
275 </table> |
|
276 |
|
277 <script type="text/javascript"> |
|
278 <!-- |
|
279 // Private objects are initially displayed (because if |
|
280 // javascript is turned off then we want them to be |
|
281 // visible); but by default, we want to hide them. So hide |
|
282 // them unless we have a cookie that says to show them. |
|
283 checkCookie() |
|
284 // --> |
|
285 </script> |
|
286 |
|
287 </body> |
|
288 </html> |