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.IntElement</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> ::
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.IntElement-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class IntElement</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">IntElement</strong>
81 <dl><dt>Known Subclasses:</dt>
83 <ul class="subclass-list">
84 <li><a href="lxml.objectify.BoolElement-class.html">BoolElement</a></li> </ul>
88 <!-- ==================== INSTANCE METHODS ==================== -->
89 <a name="section-InstanceMethods"></a>
90 <table class="summary" border="1" cellpadding="3"
91 cellspacing="0" width="100%" bgcolor="white">
92 <tr bgcolor="#70b0f0" class="table-header">
93 <td colspan="2" class="table-header">
94 <table border="0" cellpadding="0" cellspacing="0" width="100%">
96 <td align="left"><span class="table-header">Instance Methods</span></td>
97 <td align="right" valign="top"
98 ><span class="options">[<a href="#section-InstanceMethods"
99 class="privatelink" onclick="toggle_private();"
100 >hide private</a>]</span></td>
106 <td width="15%" align="right" valign="top" class="summary">
107 <span class="summary-type"> </span>
108 </td><td class="summary">
109 <table width="100%" cellpadding="0" cellspacing="0" border="0">
111 <td><span class="summary-sig"><a name="__index__"></a><span class="summary-sig-name">__index__</span>(<span class="summary-sig-arg">...</span>)</span><br />
112 x[y:z] <==> x[y.__index__():z.__index__()]</td>
113 <td align="right" valign="top">
123 <td width="15%" align="right" valign="top" class="summary">
124 <span class="summary-type">a new object with type S, a subtype of T</span>
125 </td><td class="summary">
126 <table width="100%" cellpadding="0" cellspacing="0" border="0">
128 <td><span class="summary-sig"><a href="lxml.objectify.IntElement-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
129 <span class="summary-sig-arg">S</span>,
130 <span class="summary-sig-arg">...</span>)</span></td>
131 <td align="right" valign="top">
141 <td width="15%" align="right" valign="top" class="summary">
142 <span class="summary-type"> </span>
143 </td><td class="summary">
144 <table width="100%" cellpadding="0" cellspacing="0" border="0">
146 <td><span class="summary-sig"><a href="lxml.objectify.IntElement-class.html#_init" class="summary-sig-name" onclick="show_private();">_init</a>(<span class="summary-sig-arg">...</span>)</span><br />
147 Called after object initialisation. Custom subclasses may override
148 this if they recursively call _init() in the superclasses.</td>
149 <td align="right" valign="top">
159 <td colspan="2" class="summary">
160 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
161 <code><a href="lxml.objectify.NumberElement-class.html#__abs__">__abs__</a></code>,
162 <code><a href="lxml.objectify.NumberElement-class.html#__add__">__add__</a></code>,
163 <code><a href="lxml.objectify.NumberElement-class.html#__and__">__and__</a></code>,
164 <code><a href="lxml.objectify.NumberElement-class.html#__complex__">__complex__</a></code>,
165 <code><a href="lxml.objectify.NumberElement-class.html#__div__">__div__</a></code>,
166 <code><a href="lxml.objectify.NumberElement-class.html#__eq__">__eq__</a></code>,
167 <code><a href="lxml.objectify.NumberElement-class.html#__float__">__float__</a></code>,
168 <code><a href="lxml.objectify.NumberElement-class.html#__ge__">__ge__</a></code>,
169 <code><a href="lxml.objectify.NumberElement-class.html#__gt__">__gt__</a></code>,
170 <code><a href="lxml.objectify.NumberElement-class.html#__hash__">__hash__</a></code>,
171 <code><a href="lxml.objectify.NumberElement-class.html#__hex__">__hex__</a></code>,
172 <code><a href="lxml.objectify.NumberElement-class.html#__int__">__int__</a></code>,
173 <code><a href="lxml.objectify.NumberElement-class.html#__invert__">__invert__</a></code>,
174 <code><a href="lxml.objectify.NumberElement-class.html#__le__">__le__</a></code>,
175 <code><a href="lxml.objectify.NumberElement-class.html#__long__">__long__</a></code>,
176 <code><a href="lxml.objectify.NumberElement-class.html#__lshift__">__lshift__</a></code>,
177 <code><a href="lxml.objectify.NumberElement-class.html#__lt__">__lt__</a></code>,
178 <code><a href="lxml.objectify.NumberElement-class.html#__mod__">__mod__</a></code>,
179 <code><a href="lxml.objectify.NumberElement-class.html#__mul__">__mul__</a></code>,
180 <code><a href="lxml.objectify.NumberElement-class.html#__ne__">__ne__</a></code>,
181 <code><a href="lxml.objectify.NumberElement-class.html#__neg__">__neg__</a></code>,
182 <code><a href="lxml.objectify.NumberElement-class.html#__nonzero__">__nonzero__</a></code>,
183 <code><a href="lxml.objectify.NumberElement-class.html#__oct__">__oct__</a></code>,
184 <code><a href="lxml.objectify.NumberElement-class.html#__or__">__or__</a></code>,
185 <code><a href="lxml.objectify.NumberElement-class.html#__pos__">__pos__</a></code>,
186 <code><a href="lxml.objectify.NumberElement-class.html#__pow__">__pow__</a></code>,
187 <code><a href="lxml.objectify.NumberElement-class.html#__radd__">__radd__</a></code>,
188 <code><a href="lxml.objectify.NumberElement-class.html#__rand__">__rand__</a></code>,
189 <code><a href="lxml.objectify.NumberElement-class.html#__rdiv__">__rdiv__</a></code>,
190 <code><a href="lxml.objectify.NumberElement-class.html#__repr__">__repr__</a></code>,
191 <code><a href="lxml.objectify.NumberElement-class.html#__rlshift__">__rlshift__</a></code>,
192 <code><a href="lxml.objectify.NumberElement-class.html#__rmod__">__rmod__</a></code>,
193 <code><a href="lxml.objectify.NumberElement-class.html#__rmul__">__rmul__</a></code>,
194 <code><a href="lxml.objectify.NumberElement-class.html#__ror__">__ror__</a></code>,
195 <code><a href="lxml.objectify.NumberElement-class.html#__rpow__">__rpow__</a></code>,
196 <code><a href="lxml.objectify.NumberElement-class.html#__rrshift__">__rrshift__</a></code>,
197 <code><a href="lxml.objectify.NumberElement-class.html#__rshift__">__rshift__</a></code>,
198 <code><a href="lxml.objectify.NumberElement-class.html#__rsub__">__rsub__</a></code>,
199 <code><a href="lxml.objectify.NumberElement-class.html#__rtruediv__">__rtruediv__</a></code>,
200 <code><a href="lxml.objectify.NumberElement-class.html#__rxor__">__rxor__</a></code>,
201 <code><a href="lxml.objectify.NumberElement-class.html#__str__">__str__</a></code>,
202 <code><a href="lxml.objectify.NumberElement-class.html#__sub__">__sub__</a></code>,
203 <code><a href="lxml.objectify.NumberElement-class.html#__truediv__">__truediv__</a></code>,
204 <code><a href="lxml.objectify.NumberElement-class.html#__xor__">__xor__</a></code>
206 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b> (private):
207 <code><a href="lxml.objectify.NumberElement-class.html#_setValueParser" onclick="show_private();">_setValueParser</a></code>
209 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a></code></b> (private):
210 <code><a href="lxml.objectify.ObjectifiedDataElement-class.html#_setText" onclick="show_private();">_setText</a></code>
212 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
213 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delattr__">__delattr__</a></code>,
214 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delitem__">__delitem__</a></code>,
215 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattr__">__getattr__</a></code>,
216 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattribute__">__getattribute__</a></code>,
217 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getitem__">__getitem__</a></code>,
218 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__iter__">__iter__</a></code>,
219 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__len__">__len__</a></code>,
220 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__reduce__">__reduce__</a></code>,
221 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setattr__">__setattr__</a></code>,
222 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setitem__">__setitem__</a></code>,
223 <code><a href="lxml.objectify.ObjectifiedElement-class.html#addattr">addattr</a></code>,
224 <code><a href="lxml.objectify.ObjectifiedElement-class.html#countchildren">countchildren</a></code>,
225 <code><a href="lxml.objectify.ObjectifiedElement-class.html#descendantpaths">descendantpaths</a></code>,
226 <code><a href="lxml.objectify.ObjectifiedElement-class.html#getchildren">getchildren</a></code>
228 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a></code></b>:
229 <code><a href="lxml.etree.ElementBase-class.html#__init__">__init__</a></code>
231 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
232 <code><a href="lxml.etree._Element-class.html#__contains__">__contains__</a></code>,
233 <code><a href="lxml.etree._Element-class.html#__copy__">__copy__</a></code>,
234 <code><a href="lxml.etree._Element-class.html#__deepcopy__">__deepcopy__</a></code>,
235 <code><a href="lxml.etree._Element-class.html#__reversed__">__reversed__</a></code>,
236 <code><a href="lxml.etree._Element-class.html#addnext">addnext</a></code>,
237 <code><a href="lxml.etree._Element-class.html#addprevious">addprevious</a></code>,
238 <code><a href="lxml.etree._Element-class.html#append">append</a></code>,
239 <code><a href="lxml.etree._Element-class.html#clear">clear</a></code>,
240 <code><a href="lxml.etree._Element-class.html#cssselect">cssselect</a></code>,
241 <code><a href="lxml.etree._Element-class.html#extend">extend</a></code>,
242 <code><a href="lxml.etree._Element-class.html#find">find</a></code>,
243 <code><a href="lxml.etree._Element-class.html#findall">findall</a></code>,
244 <code><a href="lxml.etree._Element-class.html#findtext">findtext</a></code>,
245 <code><a href="lxml.etree._Element-class.html#get">get</a></code>,
246 <code><a href="lxml.etree._Element-class.html#getiterator">getiterator</a></code>,
247 <code><a href="lxml.etree._Element-class.html#getnext">getnext</a></code>,
248 <code><a href="lxml.etree._Element-class.html#getparent">getparent</a></code>,
249 <code><a href="lxml.etree._Element-class.html#getprevious">getprevious</a></code>,
250 <code><a href="lxml.etree._Element-class.html#getroottree">getroottree</a></code>,
251 <code><a href="lxml.etree._Element-class.html#index">index</a></code>,
252 <code><a href="lxml.etree._Element-class.html#insert">insert</a></code>,
253 <code><a href="lxml.etree._Element-class.html#items">items</a></code>,
254 <code><a href="lxml.etree._Element-class.html#iter">iter</a></code>,
255 <code><a href="lxml.etree._Element-class.html#iterancestors">iterancestors</a></code>,
256 <code><a href="lxml.etree._Element-class.html#iterchildren">iterchildren</a></code>,
257 <code><a href="lxml.etree._Element-class.html#iterdescendants">iterdescendants</a></code>,
258 <code><a href="lxml.etree._Element-class.html#iterfind">iterfind</a></code>,
259 <code><a href="lxml.etree._Element-class.html#itersiblings">itersiblings</a></code>,
260 <code><a href="lxml.etree._Element-class.html#itertext">itertext</a></code>,
261 <code><a href="lxml.etree._Element-class.html#keys">keys</a></code>,
262 <code><a href="lxml.etree._Element-class.html#makeelement">makeelement</a></code>,
263 <code><a href="lxml.etree._Element-class.html#remove">remove</a></code>,
264 <code><a href="lxml.etree._Element-class.html#replace">replace</a></code>,
265 <code><a href="lxml.etree._Element-class.html#set">set</a></code>,
266 <code><a href="lxml.etree._Element-class.html#values">values</a></code>,
267 <code><a href="lxml.etree._Element-class.html#xpath">xpath</a></code>
269 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
270 <code>__format__</code>,
271 <code>__reduce_ex__</code>,
272 <code>__sizeof__</code>,
273 <code>__subclasshook__</code>
278 <!-- ==================== PROPERTIES ==================== -->
279 <a name="section-Properties"></a>
280 <table class="summary" border="1" cellpadding="3"
281 cellspacing="0" width="100%" bgcolor="white">
282 <tr bgcolor="#70b0f0" class="table-header">
283 <td colspan="2" class="table-header">
284 <table border="0" cellpadding="0" cellspacing="0" width="100%">
286 <td align="left"><span class="table-header">Properties</span></td>
287 <td align="right" valign="top"
288 ><span class="options">[<a href="#section-Properties"
289 class="privatelink" onclick="toggle_private();"
290 >hide private</a>]</span></td>
296 <td colspan="2" class="summary">
297 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
298 <code><a href="lxml.objectify.NumberElement-class.html#pyval">pyval</a></code>
300 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
301 <code><a href="lxml.objectify.ObjectifiedElement-class.html#text">text</a></code>
303 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
304 <code><a href="lxml.etree._Element-class.html#attrib">attrib</a></code>,
305 <code><a href="lxml.etree._Element-class.html#base">base</a></code>,
306 <code><a href="lxml.etree._Element-class.html#nsmap">nsmap</a></code>,
307 <code><a href="lxml.etree._Element-class.html#prefix">prefix</a></code>,
308 <code><a href="lxml.etree._Element-class.html#sourceline">sourceline</a></code>,
309 <code><a href="lxml.etree._Element-class.html#tag">tag</a></code>,
310 <code><a href="lxml.etree._Element-class.html#tail">tail</a></code>
312 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
313 <code>__class__</code>
318 <!-- ==================== METHOD DETAILS ==================== -->
319 <a name="section-MethodDetails"></a>
320 <table class="details" border="1" cellpadding="3"
321 cellspacing="0" width="100%" bgcolor="white">
322 <tr bgcolor="#70b0f0" class="table-header">
323 <td colspan="2" class="table-header">
324 <table border="0" cellpadding="0" cellspacing="0" width="100%">
326 <td align="left"><span class="table-header">Method Details</span></td>
327 <td align="right" valign="top"
328 ><span class="options">[<a href="#section-MethodDetails"
329 class="privatelink" onclick="toggle_private();"
330 >hide private</a>]</span></td>
336 <a name="__new__"></a>
338 <table class="details" border="1" cellpadding="3"
339 cellspacing="0" width="100%" bgcolor="white">
341 <table width="100%" cellpadding="0" cellspacing="0" border="0">
342 <tr valign="top"><td>
343 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
344 <span class="sig-arg">S</span>,
345 <span class="sig-arg">...</span>)</span>
347 </td><td align="right" valign="top"
354 <dt>Returns: a new object with type S, a subtype of T</dt>
362 <div class="private">
363 <table class="details" border="1" cellpadding="3"
364 cellspacing="0" width="100%" bgcolor="white">
366 <table width="100%" cellpadding="0" cellspacing="0" border="0">
367 <tr valign="top"><td>
368 <h3 class="epydoc"><span class="sig"><span class="sig-name">_init</span>(<span class="sig-arg">...</span>)</span>
370 </td><td align="right" valign="top"
375 Called after object initialisation. Custom subclasses may override
376 this if they recursively call _init() in the superclasses.
379 <a href="lxml.etree._Element-class.html#_init" onclick="show_private();">etree._Element._init</a>
380 <dd><em class="note">(inherited documentation)</em></dd>
386 <!-- ==================== NAVIGATION BAR ==================== -->
387 <table class="navbar" border="0" width="100%" cellpadding="0"
388 bgcolor="#a0c0ff" cellspacing="0">
391 <th> <a
392 href="lxml-module.html">Home</a> </th>
395 <th> <a
396 href="module-tree.html">Trees</a> </th>
399 <th> <a
400 href="identifier-index.html">Indices</a> </th>
403 <th> <a
404 href="help.html">Help</a> </th>
406 <!-- Project homepage -->
407 <th class="navbar" align="right" width="100%">
408 <table border="0" cellpadding="0" cellspacing="0">
409 <tr><th class="navbar" align="center"
410 ><a class="navbar" target="_top" href="/">lxml API</a></th>
414 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
416 <td align="left" class="footer">
417 Generated by Epydoc 3.0.1
418 on Wed Jan 29 12:26:21 2020
420 <td align="right" class="footer">
421 <a target="mainFrame" href="http://epydoc.sourceforge.net"
422 >http://epydoc.sourceforge.net</a>
427 <script type="text/javascript">
429 // Private objects are initially displayed (because if
430 // javascript is turned off then we want them to be
431 // visible); but by default, we want to hide them. So hide
432 // them unless we have a cookie that says to show them.