Imported Upstream version 2.3.5
[platform/upstream/python-lxml.git] / doc / html / api / lxml.objectify.LongElement-class.html
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>lxml.objectify.LongElement</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>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33   <!-- Project homepage -->
34       <th class="navbar" align="right" width="100%">
35         <table border="0" cellpadding="0" cellspacing="0">
36           <tr><th class="navbar" align="center"
37             ><a class="navbar" target="_top" href="/">lxml API</a></th>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.objectify-module.html">Module&nbsp;objectify</a> ::
47         Class&nbsp;LongElement
48       </span>
49     </td>
50     <td>
51       <table cellpadding="0" cellspacing="0">
52         <!-- hide/show private -->
53         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="lxml.objectify.LongElement-class.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class LongElement</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
66     object --+                    
67              |                    
68 <a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a> --+                
69                  |                
70  <a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a> --+            
71                      |            
72     <a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a> --+        
73                          |        
74     <a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a> --+    
75                              |    
76                  <a href="lxml.objectify.NumberElement-class.html">NumberElement</a> --+
77                                  |
78                                 <strong class="uidshort">LongElement</strong>
79 </pre>
80
81 <hr />
82 <!-- ==================== INSTANCE METHODS ==================== -->
83 <a name="section-InstanceMethods"></a>
84 <table class="summary" border="1" cellpadding="3"
85        cellspacing="0" width="100%" bgcolor="white">
86 <tr bgcolor="#70b0f0" class="table-header">
87   <td colspan="2" class="table-header">
88     <table border="0" cellpadding="0" cellspacing="0" width="100%">
89       <tr valign="top">
90         <td align="left"><span class="table-header">Instance Methods</span></td>
91         <td align="right" valign="top"
92          ><span class="options">[<a href="#section-InstanceMethods"
93          class="privatelink" onclick="toggle_private();"
94          >hide private</a>]</span></td>
95       </tr>
96     </table>
97   </td>
98 </tr>
99 <tr>
100     <td width="15%" align="right" valign="top" class="summary">
101       <span class="summary-type">a new object with type S, a subtype of T</span>
102     </td><td class="summary">
103       <table width="100%" cellpadding="0" cellspacing="0" border="0">
104         <tr>
105           <td><span class="summary-sig"><a href="lxml.objectify.LongElement-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
106         <span class="summary-sig-arg">S</span>,
107         <span class="summary-sig-arg">...</span>)</span></td>
108           <td align="right" valign="top">
109             
110             
111           </td>
112         </tr>
113       </table>
114       
115     </td>
116   </tr>
117 <tr class="private">
118     <td width="15%" align="right" valign="top" class="summary">
119       <span class="summary-type">&nbsp;</span>
120     </td><td class="summary">
121       <table width="100%" cellpadding="0" cellspacing="0" border="0">
122         <tr>
123           <td><span class="summary-sig"><a href="lxml.objectify.LongElement-class.html#_init" class="summary-sig-name" onclick="show_private();">_init</a>(<span class="summary-sig-arg">self</span>)</span><br />
124       Called after object initialisation.  Custom subclasses may override
125 this if they recursively call _init() in the superclasses.</td>
126           <td align="right" valign="top">
127             
128             
129           </td>
130         </tr>
131       </table>
132       
133     </td>
134   </tr>
135   <tr>
136     <td colspan="2" class="summary">
137     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
138       <code><a href="lxml.objectify.NumberElement-class.html#__abs__">__abs__</a></code>,
139       <code><a href="lxml.objectify.NumberElement-class.html#__add__">__add__</a></code>,
140       <code><a href="lxml.objectify.NumberElement-class.html#__and__">__and__</a></code>,
141       <code><a href="lxml.objectify.NumberElement-class.html#__complex__">__complex__</a></code>,
142       <code><a href="lxml.objectify.NumberElement-class.html#__div__">__div__</a></code>,
143       <code><a href="lxml.objectify.NumberElement-class.html#__eq__">__eq__</a></code>,
144       <code><a href="lxml.objectify.NumberElement-class.html#__float__">__float__</a></code>,
145       <code><a href="lxml.objectify.NumberElement-class.html#__ge__">__ge__</a></code>,
146       <code><a href="lxml.objectify.NumberElement-class.html#__gt__">__gt__</a></code>,
147       <code><a href="lxml.objectify.NumberElement-class.html#__hash__">__hash__</a></code>,
148       <code><a href="lxml.objectify.NumberElement-class.html#__hex__">__hex__</a></code>,
149       <code><a href="lxml.objectify.NumberElement-class.html#__int__">__int__</a></code>,
150       <code><a href="lxml.objectify.NumberElement-class.html#__invert__">__invert__</a></code>,
151       <code><a href="lxml.objectify.NumberElement-class.html#__le__">__le__</a></code>,
152       <code><a href="lxml.objectify.NumberElement-class.html#__long__">__long__</a></code>,
153       <code><a href="lxml.objectify.NumberElement-class.html#__lshift__">__lshift__</a></code>,
154       <code><a href="lxml.objectify.NumberElement-class.html#__lt__">__lt__</a></code>,
155       <code><a href="lxml.objectify.NumberElement-class.html#__mod__">__mod__</a></code>,
156       <code><a href="lxml.objectify.NumberElement-class.html#__mul__">__mul__</a></code>,
157       <code><a href="lxml.objectify.NumberElement-class.html#__ne__">__ne__</a></code>,
158       <code><a href="lxml.objectify.NumberElement-class.html#__neg__">__neg__</a></code>,
159       <code><a href="lxml.objectify.NumberElement-class.html#__nonzero__">__nonzero__</a></code>,
160       <code><a href="lxml.objectify.NumberElement-class.html#__oct__">__oct__</a></code>,
161       <code><a href="lxml.objectify.NumberElement-class.html#__or__">__or__</a></code>,
162       <code><a href="lxml.objectify.NumberElement-class.html#__pos__">__pos__</a></code>,
163       <code><a href="lxml.objectify.NumberElement-class.html#__pow__">__pow__</a></code>,
164       <code><a href="lxml.objectify.NumberElement-class.html#__radd__">__radd__</a></code>,
165       <code><a href="lxml.objectify.NumberElement-class.html#__rand__">__rand__</a></code>,
166       <code><a href="lxml.objectify.NumberElement-class.html#__rdiv__">__rdiv__</a></code>,
167       <code><a href="lxml.objectify.NumberElement-class.html#__repr__">__repr__</a></code>,
168       <code><a href="lxml.objectify.NumberElement-class.html#__rlshift__">__rlshift__</a></code>,
169       <code><a href="lxml.objectify.NumberElement-class.html#__rmod__">__rmod__</a></code>,
170       <code><a href="lxml.objectify.NumberElement-class.html#__rmul__">__rmul__</a></code>,
171       <code><a href="lxml.objectify.NumberElement-class.html#__ror__">__ror__</a></code>,
172       <code><a href="lxml.objectify.NumberElement-class.html#__rpow__">__rpow__</a></code>,
173       <code><a href="lxml.objectify.NumberElement-class.html#__rrshift__">__rrshift__</a></code>,
174       <code><a href="lxml.objectify.NumberElement-class.html#__rshift__">__rshift__</a></code>,
175       <code><a href="lxml.objectify.NumberElement-class.html#__rsub__">__rsub__</a></code>,
176       <code><a href="lxml.objectify.NumberElement-class.html#__rtruediv__">__rtruediv__</a></code>,
177       <code><a href="lxml.objectify.NumberElement-class.html#__rxor__">__rxor__</a></code>,
178       <code><a href="lxml.objectify.NumberElement-class.html#__str__">__str__</a></code>,
179       <code><a href="lxml.objectify.NumberElement-class.html#__sub__">__sub__</a></code>,
180       <code><a href="lxml.objectify.NumberElement-class.html#__truediv__">__truediv__</a></code>,
181       <code><a href="lxml.objectify.NumberElement-class.html#__xor__">__xor__</a></code>
182       </p>
183     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b> (private):
184       <code><a href="lxml.objectify.NumberElement-class.html#_setValueParser" onclick="show_private();">_setValueParser</a></code>
185       </p></div>
186     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a></code></b> (private):
187       <code><a href="lxml.objectify.ObjectifiedDataElement-class.html#_setText" onclick="show_private();">_setText</a></code>
188       </p></div>
189     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
190       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delattr__">__delattr__</a></code>,
191       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delitem__">__delitem__</a></code>,
192       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattr__">__getattr__</a></code>,
193       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattribute__">__getattribute__</a></code>,
194       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getitem__">__getitem__</a></code>,
195       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__iter__">__iter__</a></code>,
196       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__len__">__len__</a></code>,
197       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__reduce__">__reduce__</a></code>,
198       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setattr__">__setattr__</a></code>,
199       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setitem__">__setitem__</a></code>,
200       <code><a href="lxml.objectify.ObjectifiedElement-class.html#addattr">addattr</a></code>,
201       <code><a href="lxml.objectify.ObjectifiedElement-class.html#countchildren">countchildren</a></code>,
202       <code><a href="lxml.objectify.ObjectifiedElement-class.html#descendantpaths">descendantpaths</a></code>,
203       <code><a href="lxml.objectify.ObjectifiedElement-class.html#find">find</a></code>,
204       <code><a href="lxml.objectify.ObjectifiedElement-class.html#findall">findall</a></code>,
205       <code><a href="lxml.objectify.ObjectifiedElement-class.html#findtext">findtext</a></code>,
206       <code><a href="lxml.objectify.ObjectifiedElement-class.html#getchildren">getchildren</a></code>,
207       <code><a href="lxml.objectify.ObjectifiedElement-class.html#iterfind">iterfind</a></code>
208       </p>
209     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a></code></b>:
210       <code><a href="lxml.etree.ElementBase-class.html#__init__">__init__</a></code>
211       </p>
212     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
213       <code><a href="lxml.etree._Element-class.html#__contains__">__contains__</a></code>,
214       <code><a href="lxml.etree._Element-class.html#__copy__">__copy__</a></code>,
215       <code><a href="lxml.etree._Element-class.html#__deepcopy__">__deepcopy__</a></code>,
216       <code><a href="lxml.etree._Element-class.html#__reversed__">__reversed__</a></code>,
217       <code><a href="lxml.etree._Element-class.html#addnext">addnext</a></code>,
218       <code><a href="lxml.etree._Element-class.html#addprevious">addprevious</a></code>,
219       <code><a href="lxml.etree._Element-class.html#append">append</a></code>,
220       <code><a href="lxml.etree._Element-class.html#clear">clear</a></code>,
221       <code><a href="lxml.etree._Element-class.html#extend">extend</a></code>,
222       <code><a href="lxml.etree._Element-class.html#get">get</a></code>,
223       <code><a href="lxml.etree._Element-class.html#getiterator">getiterator</a></code>,
224       <code><a href="lxml.etree._Element-class.html#getnext">getnext</a></code>,
225       <code><a href="lxml.etree._Element-class.html#getparent">getparent</a></code>,
226       <code><a href="lxml.etree._Element-class.html#getprevious">getprevious</a></code>,
227       <code><a href="lxml.etree._Element-class.html#getroottree">getroottree</a></code>,
228       <code><a href="lxml.etree._Element-class.html#index">index</a></code>,
229       <code><a href="lxml.etree._Element-class.html#insert">insert</a></code>,
230       <code><a href="lxml.etree._Element-class.html#items">items</a></code>,
231       <code><a href="lxml.etree._Element-class.html#iter">iter</a></code>,
232       <code><a href="lxml.etree._Element-class.html#iterancestors">iterancestors</a></code>,
233       <code><a href="lxml.etree._Element-class.html#iterchildren">iterchildren</a></code>,
234       <code><a href="lxml.etree._Element-class.html#iterdescendants">iterdescendants</a></code>,
235       <code><a href="lxml.etree._Element-class.html#itersiblings">itersiblings</a></code>,
236       <code><a href="lxml.etree._Element-class.html#itertext">itertext</a></code>,
237       <code><a href="lxml.etree._Element-class.html#keys">keys</a></code>,
238       <code><a href="lxml.etree._Element-class.html#makeelement">makeelement</a></code>,
239       <code><a href="lxml.etree._Element-class.html#remove">remove</a></code>,
240       <code><a href="lxml.etree._Element-class.html#replace">replace</a></code>,
241       <code><a href="lxml.etree._Element-class.html#set">set</a></code>,
242       <code><a href="lxml.etree._Element-class.html#values">values</a></code>,
243       <code><a href="lxml.etree._Element-class.html#xpath">xpath</a></code>
244       </p>
245     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
246       <code>__format__</code>,
247       <code>__reduce_ex__</code>,
248       <code>__sizeof__</code>,
249       <code>__subclasshook__</code>
250       </p>
251     </td>
252   </tr>
253 </table>
254 <!-- ==================== PROPERTIES ==================== -->
255 <a name="section-Properties"></a>
256 <table class="summary" border="1" cellpadding="3"
257        cellspacing="0" width="100%" bgcolor="white">
258 <tr bgcolor="#70b0f0" class="table-header">
259   <td colspan="2" class="table-header">
260     <table border="0" cellpadding="0" cellspacing="0" width="100%">
261       <tr valign="top">
262         <td align="left"><span class="table-header">Properties</span></td>
263         <td align="right" valign="top"
264          ><span class="options">[<a href="#section-Properties"
265          class="privatelink" onclick="toggle_private();"
266          >hide private</a>]</span></td>
267       </tr>
268     </table>
269   </td>
270 </tr>
271   <tr>
272     <td colspan="2" class="summary">
273     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
274       <code><a href="lxml.objectify.NumberElement-class.html#pyval">pyval</a></code>
275       </p>
276     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
277       <code><a href="lxml.objectify.ObjectifiedElement-class.html#text">text</a></code>
278       </p>
279     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
280       <code><a href="lxml.etree._Element-class.html#attrib">attrib</a></code>,
281       <code><a href="lxml.etree._Element-class.html#base">base</a></code>,
282       <code><a href="lxml.etree._Element-class.html#nsmap">nsmap</a></code>,
283       <code><a href="lxml.etree._Element-class.html#prefix">prefix</a></code>,
284       <code><a href="lxml.etree._Element-class.html#sourceline">sourceline</a></code>,
285       <code><a href="lxml.etree._Element-class.html#tag">tag</a></code>,
286       <code><a href="lxml.etree._Element-class.html#tail">tail</a></code>
287       </p>
288     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
289       <code>__class__</code>
290       </p>
291     </td>
292   </tr>
293 </table>
294 <!-- ==================== METHOD DETAILS ==================== -->
295 <a name="section-MethodDetails"></a>
296 <table class="details" border="1" cellpadding="3"
297        cellspacing="0" width="100%" bgcolor="white">
298 <tr bgcolor="#70b0f0" class="table-header">
299   <td colspan="2" class="table-header">
300     <table border="0" cellpadding="0" cellspacing="0" width="100%">
301       <tr valign="top">
302         <td align="left"><span class="table-header">Method Details</span></td>
303         <td align="right" valign="top"
304          ><span class="options">[<a href="#section-MethodDetails"
305          class="privatelink" onclick="toggle_private();"
306          >hide private</a>]</span></td>
307       </tr>
308     </table>
309   </td>
310 </tr>
311 </table>
312 <a name="__new__"></a>
313 <div>
314 <table class="details" border="1" cellpadding="3"
315        cellspacing="0" width="100%" bgcolor="white">
316 <tr><td>
317   <table width="100%" cellpadding="0" cellspacing="0" border="0">
318   <tr valign="top"><td>
319   <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
320         <span class="sig-arg">S</span>,
321         <span class="sig-arg">...</span>)</span>
322   </h3>
323   </td><td align="right" valign="top"
324     >&nbsp;
325     </td>
326   </tr></table>
327   
328   
329   <dl class="fields">
330     <dt>Returns: a new object with type S, a subtype of T</dt>
331     <dt>Overrides:
332         object.__new__
333     </dt>
334   </dl>
335 </td></tr></table>
336 </div>
337 <a name="_init"></a>
338 <div class="private">
339 <table class="details" border="1" cellpadding="3"
340        cellspacing="0" width="100%" bgcolor="white">
341 <tr><td>
342   <table width="100%" cellpadding="0" cellspacing="0" border="0">
343   <tr valign="top"><td>
344   <h3 class="epydoc"><span class="sig"><span class="sig-name">_init</span>(<span class="sig-arg">self</span>)</span>
345   </h3>
346   </td><td align="right" valign="top"
347     >&nbsp;
348     </td>
349   </tr></table>
350   
351   Called after object initialisation.  Custom subclasses may override
352 this if they recursively call _init() in the superclasses.
353   <dl class="fields">
354     <dt>Overrides:
355         <a href="lxml.etree._Element-class.html#_init" onclick="show_private();">etree._Element._init</a>
356         <dd><em class="note">(inherited documentation)</em></dd>
357     </dt>
358   </dl>
359 </td></tr></table>
360 </div>
361 <br />
362 <!-- ==================== NAVIGATION BAR ==================== -->
363 <table class="navbar" border="0" width="100%" cellpadding="0"
364        bgcolor="#a0c0ff" cellspacing="0">
365   <tr valign="middle">
366   <!-- Home link -->
367       <th>&nbsp;&nbsp;&nbsp;<a
368         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
369
370   <!-- Tree link -->
371       <th>&nbsp;&nbsp;&nbsp;<a
372         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
373
374   <!-- Index link -->
375       <th>&nbsp;&nbsp;&nbsp;<a
376         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
377
378   <!-- Help link -->
379       <th>&nbsp;&nbsp;&nbsp;<a
380         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
381
382   <!-- Project homepage -->
383       <th class="navbar" align="right" width="100%">
384         <table border="0" cellpadding="0" cellspacing="0">
385           <tr><th class="navbar" align="center"
386             ><a class="navbar" target="_top" href="/">lxml API</a></th>
387           </tr></table></th>
388   </tr>
389 </table>
390 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
391   <tr>
392     <td align="left" class="footer">
393     Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:19 2012
394     </td>
395     <td align="right" class="footer">
396       <a target="mainFrame" href="http://epydoc.sourceforge.net"
397         >http://epydoc.sourceforge.net</a>
398     </td>
399   </tr>
400 </table>
401
402 <script type="text/javascript">
403   <!--
404   // Private objects are initially displayed (because if
405   // javascript is turned off then we want them to be
406   // visible); but by default, we want to hide them.  So hide
407   // them unless we have a cookie that says to show them.
408   checkCookie();
409   // -->
410 </script>
411 </body>
412 </html>