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">
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>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
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>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.objectify-module.html">Module objectify</a> ::
47 Class LongElement
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 private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.objectify.LongElement-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class LongElement</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
68 <a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a> --+
70 <a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a> --+
72 <a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a> --+
74 <a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a> --+
76 <a href="lxml.objectify.NumberElement-class.html">NumberElement</a> --+
78 <strong class="uidshort">LongElement</strong>
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%">
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>
100 <td width="15%" align="right" valign="top" class="summary">
101 <span class="summary-type"> </span>
102 </td><td class="summary">
103 <table width="100%" cellpadding="0" cellspacing="0" border="0">
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] <==> x[y.__index__():z.__index__()]</td>
107 <td align="right" valign="top">
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">
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">
135 <td width="15%" align="right" valign="top" class="summary">
136 <span class="summary-type"> </span>
137 </td><td class="summary">
138 <table width="100%" cellpadding="0" cellspacing="0" border="0">
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">
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>
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>
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>
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>
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>
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>
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>
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%">
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>
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>
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>
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>
306 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
307 <code>__class__</code>
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%">
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>
330 <a name="__new__"></a>
332 <table class="details" border="1" cellpadding="3"
333 cellspacing="0" width="100%" bgcolor="white">
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>
341 </td><td align="right" valign="top"
348 <dt>Returns: a new object with type S, a subtype of T</dt>
356 <div class="private">
357 <table class="details" border="1" cellpadding="3"
358 cellspacing="0" width="100%" bgcolor="white">
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>
364 </td><td align="right" valign="top"
369 Called after object initialisation. Custom subclasses may override
370 this if they recursively call _init() in the superclasses.
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>
380 <!-- ==================== NAVIGATION BAR ==================== -->
381 <table class="navbar" border="0" width="100%" cellpadding="0"
382 bgcolor="#a0c0ff" cellspacing="0">
385 <th> <a
386 href="lxml-module.html">Home</a> </th>
389 <th> <a
390 href="module-tree.html">Trees</a> </th>
393 <th> <a
394 href="identifier-index.html">Indices</a> </th>
397 <th> <a
398 href="help.html">Help</a> </th>
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>
408 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
410 <td align="left" class="footer">
411 Generated by Epydoc 3.0.1
412 on Thu Jul 9 18:29:53 2020
414 <td align="right" class="footer">
415 <a target="mainFrame" href="http://epydoc.sourceforge.net"
416 >http://epydoc.sourceforge.net</a>
421 <script type="text/javascript">
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.