22fa551c2e7dbfefd53cb1d0be59ed8df3ddbb31
[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">&nbsp;</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 name="__index__"></a><span class="summary-sig-name">__index__</span>(<span class="summary-sig-arg">...</span>)</span><br />
106       x[y:z] &lt;==&gt; x[y.__index__():z.__index__()]</td>
107           <td align="right" valign="top">
108             
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">a new object with type S, a subtype of T</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 href="lxml.objectify.LongElement-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
123         <span class="summary-sig-arg">S</span>,
124         <span class="summary-sig-arg">...</span>)</span></td>
125           <td align="right" valign="top">
126             
127             
128           </td>
129         </tr>
130       </table>
131       
132     </td>
133   </tr>
134 <tr class="private">
135     <td width="15%" align="right" valign="top" class="summary">
136       <span class="summary-type">&nbsp;</span>
137     </td><td class="summary">
138       <table width="100%" cellpadding="0" cellspacing="0" border="0">
139         <tr>
140           <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">...</span>)</span><br />
141       Called after object initialisation.  Custom subclasses may override
142 this if they recursively call _init() in the superclasses.</td>
143           <td align="right" valign="top">
144             
145             
146           </td>
147         </tr>
148       </table>
149       
150     </td>
151   </tr>
152   <tr>
153     <td colspan="2" class="summary">
154     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
155       <code><a href="lxml.objectify.NumberElement-class.html#__abs__">__abs__</a></code>,
156       <code><a href="lxml.objectify.NumberElement-class.html#__add__">__add__</a></code>,
157       <code><a href="lxml.objectify.NumberElement-class.html#__and__">__and__</a></code>,
158       <code><a href="lxml.objectify.NumberElement-class.html#__complex__">__complex__</a></code>,
159       <code><a href="lxml.objectify.NumberElement-class.html#__div__">__div__</a></code>,
160       <code><a href="lxml.objectify.NumberElement-class.html#__eq__">__eq__</a></code>,
161       <code><a href="lxml.objectify.NumberElement-class.html#__float__">__float__</a></code>,
162       <code><a href="lxml.objectify.NumberElement-class.html#__ge__">__ge__</a></code>,
163       <code><a href="lxml.objectify.NumberElement-class.html#__gt__">__gt__</a></code>,
164       <code><a href="lxml.objectify.NumberElement-class.html#__hash__">__hash__</a></code>,
165       <code><a href="lxml.objectify.NumberElement-class.html#__hex__">__hex__</a></code>,
166       <code><a href="lxml.objectify.NumberElement-class.html#__int__">__int__</a></code>,
167       <code><a href="lxml.objectify.NumberElement-class.html#__invert__">__invert__</a></code>,
168       <code><a href="lxml.objectify.NumberElement-class.html#__le__">__le__</a></code>,
169       <code><a href="lxml.objectify.NumberElement-class.html#__long__">__long__</a></code>,
170       <code><a href="lxml.objectify.NumberElement-class.html#__lshift__">__lshift__</a></code>,
171       <code><a href="lxml.objectify.NumberElement-class.html#__lt__">__lt__</a></code>,
172       <code><a href="lxml.objectify.NumberElement-class.html#__mod__">__mod__</a></code>,
173       <code><a href="lxml.objectify.NumberElement-class.html#__mul__">__mul__</a></code>,
174       <code><a href="lxml.objectify.NumberElement-class.html#__ne__">__ne__</a></code>,
175       <code><a href="lxml.objectify.NumberElement-class.html#__neg__">__neg__</a></code>,
176       <code><a href="lxml.objectify.NumberElement-class.html#__nonzero__">__nonzero__</a></code>,
177       <code><a href="lxml.objectify.NumberElement-class.html#__oct__">__oct__</a></code>,
178       <code><a href="lxml.objectify.NumberElement-class.html#__or__">__or__</a></code>,
179       <code><a href="lxml.objectify.NumberElement-class.html#__pos__">__pos__</a></code>,
180       <code><a href="lxml.objectify.NumberElement-class.html#__pow__">__pow__</a></code>,
181       <code><a href="lxml.objectify.NumberElement-class.html#__radd__">__radd__</a></code>,
182       <code><a href="lxml.objectify.NumberElement-class.html#__rand__">__rand__</a></code>,
183       <code><a href="lxml.objectify.NumberElement-class.html#__rdiv__">__rdiv__</a></code>,
184       <code><a href="lxml.objectify.NumberElement-class.html#__repr__">__repr__</a></code>,
185       <code><a href="lxml.objectify.NumberElement-class.html#__rlshift__">__rlshift__</a></code>,
186       <code><a href="lxml.objectify.NumberElement-class.html#__rmod__">__rmod__</a></code>,
187       <code><a href="lxml.objectify.NumberElement-class.html#__rmul__">__rmul__</a></code>,
188       <code><a href="lxml.objectify.NumberElement-class.html#__ror__">__ror__</a></code>,
189       <code><a href="lxml.objectify.NumberElement-class.html#__rpow__">__rpow__</a></code>,
190       <code><a href="lxml.objectify.NumberElement-class.html#__rrshift__">__rrshift__</a></code>,
191       <code><a href="lxml.objectify.NumberElement-class.html#__rshift__">__rshift__</a></code>,
192       <code><a href="lxml.objectify.NumberElement-class.html#__rsub__">__rsub__</a></code>,
193       <code><a href="lxml.objectify.NumberElement-class.html#__rtruediv__">__rtruediv__</a></code>,
194       <code><a href="lxml.objectify.NumberElement-class.html#__rxor__">__rxor__</a></code>,
195       <code><a href="lxml.objectify.NumberElement-class.html#__str__">__str__</a></code>,
196       <code><a href="lxml.objectify.NumberElement-class.html#__sub__">__sub__</a></code>,
197       <code><a href="lxml.objectify.NumberElement-class.html#__truediv__">__truediv__</a></code>,
198       <code><a href="lxml.objectify.NumberElement-class.html#__xor__">__xor__</a></code>
199       </p>
200     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b> (private):
201       <code><a href="lxml.objectify.NumberElement-class.html#_setValueParser" onclick="show_private();">_setValueParser</a></code>
202       </p></div>
203     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a></code></b> (private):
204       <code><a href="lxml.objectify.ObjectifiedDataElement-class.html#_setText" onclick="show_private();">_setText</a></code>
205       </p></div>
206     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
207       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delattr__">__delattr__</a></code>,
208       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delitem__">__delitem__</a></code>,
209       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattr__">__getattr__</a></code>,
210       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattribute__">__getattribute__</a></code>,
211       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getitem__">__getitem__</a></code>,
212       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__iter__">__iter__</a></code>,
213       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__len__">__len__</a></code>,
214       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__reduce__">__reduce__</a></code>,
215       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setattr__">__setattr__</a></code>,
216       <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setitem__">__setitem__</a></code>,
217       <code><a href="lxml.objectify.ObjectifiedElement-class.html#addattr">addattr</a></code>,
218       <code><a href="lxml.objectify.ObjectifiedElement-class.html#countchildren">countchildren</a></code>,
219       <code><a href="lxml.objectify.ObjectifiedElement-class.html#descendantpaths">descendantpaths</a></code>,
220       <code><a href="lxml.objectify.ObjectifiedElement-class.html#getchildren">getchildren</a></code>
221       </p>
222     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a></code></b>:
223       <code><a href="lxml.etree.ElementBase-class.html#__init__">__init__</a></code>
224       </p>
225     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
226       <code><a href="lxml.etree._Element-class.html#__contains__">__contains__</a></code>,
227       <code><a href="lxml.etree._Element-class.html#__copy__">__copy__</a></code>,
228       <code><a href="lxml.etree._Element-class.html#__deepcopy__">__deepcopy__</a></code>,
229       <code><a href="lxml.etree._Element-class.html#__reversed__">__reversed__</a></code>,
230       <code><a href="lxml.etree._Element-class.html#addnext">addnext</a></code>,
231       <code><a href="lxml.etree._Element-class.html#addprevious">addprevious</a></code>,
232       <code><a href="lxml.etree._Element-class.html#append">append</a></code>,
233       <code><a href="lxml.etree._Element-class.html#clear">clear</a></code>,
234       <code><a href="lxml.etree._Element-class.html#cssselect">cssselect</a></code>,
235       <code><a href="lxml.etree._Element-class.html#extend">extend</a></code>,
236       <code><a href="lxml.etree._Element-class.html#find">find</a></code>,
237       <code><a href="lxml.etree._Element-class.html#findall">findall</a></code>,
238       <code><a href="lxml.etree._Element-class.html#findtext">findtext</a></code>,
239       <code><a href="lxml.etree._Element-class.html#get">get</a></code>,
240       <code><a href="lxml.etree._Element-class.html#getiterator">getiterator</a></code>,
241       <code><a href="lxml.etree._Element-class.html#getnext">getnext</a></code>,
242       <code><a href="lxml.etree._Element-class.html#getparent">getparent</a></code>,
243       <code><a href="lxml.etree._Element-class.html#getprevious">getprevious</a></code>,
244       <code><a href="lxml.etree._Element-class.html#getroottree">getroottree</a></code>,
245       <code><a href="lxml.etree._Element-class.html#index">index</a></code>,
246       <code><a href="lxml.etree._Element-class.html#insert">insert</a></code>,
247       <code><a href="lxml.etree._Element-class.html#items">items</a></code>,
248       <code><a href="lxml.etree._Element-class.html#iter">iter</a></code>,
249       <code><a href="lxml.etree._Element-class.html#iterancestors">iterancestors</a></code>,
250       <code><a href="lxml.etree._Element-class.html#iterchildren">iterchildren</a></code>,
251       <code><a href="lxml.etree._Element-class.html#iterdescendants">iterdescendants</a></code>,
252       <code><a href="lxml.etree._Element-class.html#iterfind">iterfind</a></code>,
253       <code><a href="lxml.etree._Element-class.html#itersiblings">itersiblings</a></code>,
254       <code><a href="lxml.etree._Element-class.html#itertext">itertext</a></code>,
255       <code><a href="lxml.etree._Element-class.html#keys">keys</a></code>,
256       <code><a href="lxml.etree._Element-class.html#makeelement">makeelement</a></code>,
257       <code><a href="lxml.etree._Element-class.html#remove">remove</a></code>,
258       <code><a href="lxml.etree._Element-class.html#replace">replace</a></code>,
259       <code><a href="lxml.etree._Element-class.html#set">set</a></code>,
260       <code><a href="lxml.etree._Element-class.html#values">values</a></code>,
261       <code><a href="lxml.etree._Element-class.html#xpath">xpath</a></code>
262       </p>
263     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
264       <code>__format__</code>,
265       <code>__reduce_ex__</code>,
266       <code>__sizeof__</code>,
267       <code>__subclasshook__</code>
268       </p>
269     </td>
270   </tr>
271 </table>
272 <!-- ==================== PROPERTIES ==================== -->
273 <a name="section-Properties"></a>
274 <table class="summary" border="1" cellpadding="3"
275        cellspacing="0" width="100%" bgcolor="white">
276 <tr bgcolor="#70b0f0" class="table-header">
277   <td colspan="2" class="table-header">
278     <table border="0" cellpadding="0" cellspacing="0" width="100%">
279       <tr valign="top">
280         <td align="left"><span class="table-header">Properties</span></td>
281         <td align="right" valign="top"
282          ><span class="options">[<a href="#section-Properties"
283          class="privatelink" onclick="toggle_private();"
284          >hide private</a>]</span></td>
285       </tr>
286     </table>
287   </td>
288 </tr>
289   <tr>
290     <td colspan="2" class="summary">
291     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
292       <code><a href="lxml.objectify.NumberElement-class.html#pyval">pyval</a></code>
293       </p>
294     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
295       <code><a href="lxml.objectify.ObjectifiedElement-class.html#text">text</a></code>
296       </p>
297     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
298       <code><a href="lxml.etree._Element-class.html#attrib">attrib</a></code>,
299       <code><a href="lxml.etree._Element-class.html#base">base</a></code>,
300       <code><a href="lxml.etree._Element-class.html#nsmap">nsmap</a></code>,
301       <code><a href="lxml.etree._Element-class.html#prefix">prefix</a></code>,
302       <code><a href="lxml.etree._Element-class.html#sourceline">sourceline</a></code>,
303       <code><a href="lxml.etree._Element-class.html#tag">tag</a></code>,
304       <code><a href="lxml.etree._Element-class.html#tail">tail</a></code>
305       </p>
306     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
307       <code>__class__</code>
308       </p>
309     </td>
310   </tr>
311 </table>
312 <!-- ==================== METHOD DETAILS ==================== -->
313 <a name="section-MethodDetails"></a>
314 <table class="details" border="1" cellpadding="3"
315        cellspacing="0" width="100%" bgcolor="white">
316 <tr bgcolor="#70b0f0" class="table-header">
317   <td colspan="2" class="table-header">
318     <table border="0" cellpadding="0" cellspacing="0" width="100%">
319       <tr valign="top">
320         <td align="left"><span class="table-header">Method Details</span></td>
321         <td align="right" valign="top"
322          ><span class="options">[<a href="#section-MethodDetails"
323          class="privatelink" onclick="toggle_private();"
324          >hide private</a>]</span></td>
325       </tr>
326     </table>
327   </td>
328 </tr>
329 </table>
330 <a name="__new__"></a>
331 <div>
332 <table class="details" border="1" cellpadding="3"
333        cellspacing="0" width="100%" bgcolor="white">
334 <tr><td>
335   <table width="100%" cellpadding="0" cellspacing="0" border="0">
336   <tr valign="top"><td>
337   <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
338         <span class="sig-arg">S</span>,
339         <span class="sig-arg">...</span>)</span>
340   </h3>
341   </td><td align="right" valign="top"
342     >&nbsp;
343     </td>
344   </tr></table>
345   
346   
347   <dl class="fields">
348     <dt>Returns: a new object with type S, a subtype of T</dt>
349     <dt>Overrides:
350         object.__new__
351     </dt>
352   </dl>
353 </td></tr></table>
354 </div>
355 <a name="_init"></a>
356 <div class="private">
357 <table class="details" border="1" cellpadding="3"
358        cellspacing="0" width="100%" bgcolor="white">
359 <tr><td>
360   <table width="100%" cellpadding="0" cellspacing="0" border="0">
361   <tr valign="top"><td>
362   <h3 class="epydoc"><span class="sig"><span class="sig-name">_init</span>(<span class="sig-arg">...</span>)</span>
363   </h3>
364   </td><td align="right" valign="top"
365     >&nbsp;
366     </td>
367   </tr></table>
368   
369   Called after object initialisation.  Custom subclasses may override
370 this if they recursively call _init() in the superclasses.
371   <dl class="fields">
372     <dt>Overrides:
373         <a href="lxml.etree._Element-class.html#_init" onclick="show_private();">etree._Element._init</a>
374         <dd><em class="note">(inherited documentation)</em></dd>
375     </dt>
376   </dl>
377 </td></tr></table>
378 </div>
379 <br />
380 <!-- ==================== NAVIGATION BAR ==================== -->
381 <table class="navbar" border="0" width="100%" cellpadding="0"
382        bgcolor="#a0c0ff" cellspacing="0">
383   <tr valign="middle">
384   <!-- Home link -->
385       <th>&nbsp;&nbsp;&nbsp;<a
386         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
387
388   <!-- Tree link -->
389       <th>&nbsp;&nbsp;&nbsp;<a
390         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
391
392   <!-- Index link -->
393       <th>&nbsp;&nbsp;&nbsp;<a
394         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
395
396   <!-- Help link -->
397       <th>&nbsp;&nbsp;&nbsp;<a
398         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
399
400   <!-- Project homepage -->
401       <th class="navbar" align="right" width="100%">
402         <table border="0" cellpadding="0" cellspacing="0">
403           <tr><th class="navbar" align="center"
404             ><a class="navbar" target="_top" href="/">lxml API</a></th>
405           </tr></table></th>
406   </tr>
407 </table>
408 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
409   <tr>
410     <td align="left" class="footer">
411     Generated by Epydoc 3.0.1
412     on Wed Jan 29 12:26:21 2020
413     </td>
414     <td align="right" class="footer">
415       <a target="mainFrame" href="http://epydoc.sourceforge.net"
416         >http://epydoc.sourceforge.net</a>
417     </td>
418   </tr>
419 </table>
420
421 <script type="text/javascript">
422   <!--
423   // Private objects are initially displayed (because if
424   // javascript is turned off then we want them to be
425   // visible); but by default, we want to hide them.  So hide
426   // them unless we have a cookie that says to show them.
427   checkCookie();
428   // -->
429 </script>
430 </body>
431 </html>