|
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>symrec.MetadataMerger</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="symrec-module.html">Module symrec</a> :: |
|
38 Class MetadataMerger |
|
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="symrec.MetadataMerger-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 MetadataMerger</h1><span class="codelink"><a href="symrec-pysrc.html#MetadataMerger">source code</a></span><br /><br /> |
|
56 <pre class="base-tree"> |
|
57 object --+ |
|
58 | |
|
59 <strong class="uidshort">MetadataMerger</strong> |
|
60 </pre> |
|
61 |
|
62 <hr /> |
|
63 Merge packages definition to the root metadata.<br /><br /> |
|
64 |
|
65 <!-- ==================== INSTANCE METHODS ==================== --> |
|
66 <a name="section-InstanceMethods"></a> |
|
67 <table class="summary" border="1" cellpadding="3" |
|
68 cellspacing="0" width="100%" bgcolor="white"> |
|
69 <tr bgcolor="#70b0f0" class="table-header"> |
|
70 <td colspan="2" class="table-header"> |
|
71 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
72 <tr valign="top"> |
|
73 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
74 <td align="right" valign="top" |
|
75 ><span class="options">[<a href="#section-InstanceMethods" |
|
76 class="privatelink" onclick="toggle_private();" |
|
77 >hide private</a>]</span></td> |
|
78 </tr> |
|
79 </table> |
|
80 </td> |
|
81 </tr> |
|
82 <tr> |
|
83 <td width="15%" align="right" valign="top" class="summary"> |
|
84 <span class="summary-type"> </span> |
|
85 </td><td class="summary"> |
|
86 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
87 <tr> |
|
88 <td><span class="summary-sig"><a href="symrec.MetadataMerger-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
89 <span class="summary-sig-arg">metadata</span>)</span><br /> |
|
90 Construct a metadata merger providing root metadata filename.</td> |
|
91 <td align="right" valign="top"> |
|
92 <span class="codelink"><a href="symrec-pysrc.html#MetadataMerger.__init__">source code</a></span> |
|
93 |
|
94 </td> |
|
95 </tr> |
|
96 </table> |
|
97 |
|
98 </td> |
|
99 </tr> |
|
100 <tr> |
|
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="merge"></a><span class="summary-sig-name">merge</span>(<span class="summary-sig-arg">self</span>, |
|
107 <span class="summary-sig-arg">filename</span>)</span><br /> |
|
108 Merge the content of filename into the root metadata.</td> |
|
109 <td align="right" valign="top"> |
|
110 <span class="codelink"><a href="symrec-pysrc.html#MetadataMerger.merge">source code</a></span> |
|
111 |
|
112 </td> |
|
113 </tr> |
|
114 </table> |
|
115 |
|
116 </td> |
|
117 </tr> |
|
118 <tr> |
|
119 <td width="15%" align="right" valign="top" class="summary"> |
|
120 <span class="summary-type"> </span> |
|
121 </td><td class="summary"> |
|
122 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
123 <tr> |
|
124 <td><span class="summary-sig"><a name="xml"></a><span class="summary-sig-name">xml</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
125 Returning the XML as a string.</td> |
|
126 <td align="right" valign="top"> |
|
127 <span class="codelink"><a href="symrec-pysrc.html#MetadataMerger.xml">source code</a></span> |
|
128 |
|
129 </td> |
|
130 </tr> |
|
131 </table> |
|
132 |
|
133 </td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td width="15%" align="right" valign="top" class="summary"> |
|
137 <span class="summary-type"> </span> |
|
138 </td><td class="summary"> |
|
139 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
140 <tr> |
|
141 <td><span class="summary-sig"><a name="save"></a><span class="summary-sig-name">save</span>(<span class="summary-sig-arg">self</span>, |
|
142 <span class="summary-sig-arg">filename</span>=<span class="summary-sig-default">None</span>)</span><br /> |
|
143 Saving the XML into the provided filename.</td> |
|
144 <td align="right" valign="top"> |
|
145 <span class="codelink"><a href="symrec-pysrc.html#MetadataMerger.save">source code</a></span> |
|
146 |
|
147 </td> |
|
148 </tr> |
|
149 </table> |
|
150 |
|
151 </td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td colspan="2" class="summary"> |
|
155 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
156 <code>__delattr__</code>, |
|
157 <code>__getattribute__</code>, |
|
158 <code>__hash__</code>, |
|
159 <code>__new__</code>, |
|
160 <code>__reduce__</code>, |
|
161 <code>__reduce_ex__</code>, |
|
162 <code>__repr__</code>, |
|
163 <code>__setattr__</code>, |
|
164 <code>__str__</code> |
|
165 </p> |
|
166 </td> |
|
167 </tr> |
|
168 </table> |
|
169 <!-- ==================== PROPERTIES ==================== --> |
|
170 <a name="section-Properties"></a> |
|
171 <table class="summary" border="1" cellpadding="3" |
|
172 cellspacing="0" width="100%" bgcolor="white"> |
|
173 <tr bgcolor="#70b0f0" class="table-header"> |
|
174 <td colspan="2" class="table-header"> |
|
175 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
176 <tr valign="top"> |
|
177 <td align="left"><span class="table-header">Properties</span></td> |
|
178 <td align="right" valign="top" |
|
179 ><span class="options">[<a href="#section-Properties" |
|
180 class="privatelink" onclick="toggle_private();" |
|
181 >hide private</a>]</span></td> |
|
182 </tr> |
|
183 </table> |
|
184 </td> |
|
185 </tr> |
|
186 <tr> |
|
187 <td colspan="2" class="summary"> |
|
188 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
189 <code>__class__</code> |
|
190 </p> |
|
191 </td> |
|
192 </tr> |
|
193 </table> |
|
194 <!-- ==================== METHOD DETAILS ==================== --> |
|
195 <a name="section-MethodDetails"></a> |
|
196 <table class="details" border="1" cellpadding="3" |
|
197 cellspacing="0" width="100%" bgcolor="white"> |
|
198 <tr bgcolor="#70b0f0" class="table-header"> |
|
199 <td colspan="2" class="table-header"> |
|
200 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
201 <tr valign="top"> |
|
202 <td align="left"><span class="table-header">Method Details</span></td> |
|
203 <td align="right" valign="top" |
|
204 ><span class="options">[<a href="#section-MethodDetails" |
|
205 class="privatelink" onclick="toggle_private();" |
|
206 >hide private</a>]</span></td> |
|
207 </tr> |
|
208 </table> |
|
209 </td> |
|
210 </tr> |
|
211 </table> |
|
212 <a name="__init__"></a> |
|
213 <div> |
|
214 <table class="details" border="1" cellpadding="3" |
|
215 cellspacing="0" width="100%" bgcolor="white"> |
|
216 <tr><td> |
|
217 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
218 <tr valign="top"><td> |
|
219 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
220 <span class="sig-arg">metadata</span>)</span> |
|
221 <br /><em class="fname">(Constructor)</em> |
|
222 </h3> |
|
223 </td><td align="right" valign="top" |
|
224 ><span class="codelink"><a href="symrec-pysrc.html#MetadataMerger.__init__">source code</a></span> |
|
225 </td> |
|
226 </table> |
|
227 |
|
228 Construct a metadata merger providing root metadata filename. |
|
229 <dl class="fields"> |
|
230 <dt>Overrides: |
|
231 object.__init__ |
|
232 </dt> |
|
233 </dl> |
|
234 </td></tr></table> |
|
235 </div> |
|
236 <br /> |
|
237 <!-- ==================== NAVIGATION BAR ==================== --> |
|
238 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
239 bgcolor="#a0c0ff" cellspacing="0"> |
|
240 <tr valign="middle"> |
|
241 |
|
242 <!-- Tree link --> |
|
243 <th> <a |
|
244 href="module-tree.html">Trees</a> </th> |
|
245 |
|
246 <!-- Index link --> |
|
247 <th> <a |
|
248 href="identifier-index.html">Indices</a> </th> |
|
249 |
|
250 <!-- Help link --> |
|
251 <th> <a |
|
252 href="help.html">Help</a> </th> |
|
253 |
|
254 <th class="navbar" width="100%"></th> |
|
255 </tr> |
|
256 </table> |
|
257 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
258 <tr> |
|
259 <td align="left" class="footer"> |
|
260 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009 |
|
261 </td> |
|
262 <td align="right" class="footer"> |
|
263 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
264 </td> |
|
265 </tr> |
|
266 </table> |
|
267 |
|
268 <script type="text/javascript"> |
|
269 <!-- |
|
270 // Private objects are initially displayed (because if |
|
271 // javascript is turned off then we want them to be |
|
272 // visible); but by default, we want to hide them. So hide |
|
273 // them unless we have a cookie that says to show them. |
|
274 checkCookie() |
|
275 // --> |
|
276 </script> |
|
277 |
|
278 </body> |
|
279 </html> |