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.NoneElement</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 NoneElement
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.NoneElement-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class NoneElement</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 <strong class="uidshort">NoneElement</strong>
80 <!-- ==================== INSTANCE METHODS ==================== -->
81 <a name="section-InstanceMethods"></a>
82 <table class="summary" border="1" cellpadding="3"
83 cellspacing="0" width="100%" bgcolor="white">
84 <tr bgcolor="#70b0f0" class="table-header">
85 <td colspan="2" class="table-header">
86 <table border="0" cellpadding="0" cellspacing="0" width="100%">
88 <td align="left"><span class="table-header">Instance Methods</span></td>
89 <td align="right" valign="top"
90 ><span class="options">[<a href="#section-InstanceMethods"
91 class="privatelink" onclick="toggle_private();"
92 >hide private</a>]</span></td>
98 <td width="15%" align="right" valign="top" class="summary">
99 <span class="summary-type"> </span>
100 </td><td class="summary">
101 <table width="100%" cellpadding="0" cellspacing="0" border="0">
103 <td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">x</span>,
104 <span class="summary-sig-arg">y</span>)</span><br />
106 <td align="right" valign="top">
116 <td width="15%" align="right" valign="top" class="summary">
117 <span class="summary-type"> </span>
118 </td><td class="summary">
119 <table width="100%" cellpadding="0" cellspacing="0" border="0">
121 <td><span class="summary-sig"><a name="__ge__"></a><span class="summary-sig-name">__ge__</span>(<span class="summary-sig-arg">x</span>,
122 <span class="summary-sig-arg">y</span>)</span><br />
124 <td align="right" valign="top">
134 <td width="15%" align="right" valign="top" class="summary">
135 <span class="summary-type"> </span>
136 </td><td class="summary">
137 <table width="100%" cellpadding="0" cellspacing="0" border="0">
139 <td><span class="summary-sig"><a name="__gt__"></a><span class="summary-sig-name">__gt__</span>(<span class="summary-sig-arg">x</span>,
140 <span class="summary-sig-arg">y</span>)</span><br />
142 <td align="right" valign="top">
152 <td width="15%" align="right" valign="top" class="summary">
153 <span class="summary-type"> </span>
154 </td><td class="summary">
155 <table width="100%" cellpadding="0" cellspacing="0" border="0">
157 <td><span class="summary-sig"><a href="lxml.objectify.NoneElement-class.html#__hash__" class="summary-sig-name">__hash__</a>(<span class="summary-sig-arg">x</span>)</span><br />
159 <td align="right" valign="top">
169 <td width="15%" align="right" valign="top" class="summary">
170 <span class="summary-type"> </span>
171 </td><td class="summary">
172 <table width="100%" cellpadding="0" cellspacing="0" border="0">
174 <td><span class="summary-sig"><a name="__le__"></a><span class="summary-sig-name">__le__</span>(<span class="summary-sig-arg">x</span>,
175 <span class="summary-sig-arg">y</span>)</span><br />
177 <td align="right" valign="top">
187 <td width="15%" align="right" valign="top" class="summary">
188 <span class="summary-type"> </span>
189 </td><td class="summary">
190 <table width="100%" cellpadding="0" cellspacing="0" border="0">
192 <td><span class="summary-sig"><a name="__lt__"></a><span class="summary-sig-name">__lt__</span>(<span class="summary-sig-arg">x</span>,
193 <span class="summary-sig-arg">y</span>)</span><br />
195 <td align="right" valign="top">
205 <td width="15%" align="right" valign="top" class="summary">
206 <span class="summary-type"> </span>
207 </td><td class="summary">
208 <table width="100%" cellpadding="0" cellspacing="0" border="0">
210 <td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">x</span>,
211 <span class="summary-sig-arg">y</span>)</span><br />
213 <td align="right" valign="top">
223 <td width="15%" align="right" valign="top" class="summary">
224 <span class="summary-type">a new object with type S, a subtype of T</span>
225 </td><td class="summary">
226 <table width="100%" cellpadding="0" cellspacing="0" border="0">
228 <td><span class="summary-sig"><a href="lxml.objectify.NoneElement-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
229 <span class="summary-sig-arg">S</span>,
230 <span class="summary-sig-arg">...</span>)</span></td>
231 <td align="right" valign="top">
241 <td width="15%" align="right" valign="top" class="summary">
242 <span class="summary-type"> </span>
243 </td><td class="summary">
244 <table width="100%" cellpadding="0" cellspacing="0" border="0">
246 <td><span class="summary-sig"><a href="lxml.objectify.NoneElement-class.html#__nonzero__" class="summary-sig-name">__nonzero__</a>(<span class="summary-sig-arg">x</span>)</span><br />
248 <td align="right" valign="top">
258 <td width="15%" align="right" valign="top" class="summary">
259 <span class="summary-type"> </span>
260 </td><td class="summary">
261 <table width="100%" cellpadding="0" cellspacing="0" border="0">
263 <td><span class="summary-sig"><a href="lxml.objectify.NoneElement-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">x</span>)</span><br />
265 <td align="right" valign="top">
275 <td width="15%" align="right" valign="top" class="summary">
276 <span class="summary-type"> </span>
277 </td><td class="summary">
278 <table width="100%" cellpadding="0" cellspacing="0" border="0">
280 <td><span class="summary-sig"><a href="lxml.objectify.NoneElement-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">x</span>)</span><br />
282 <td align="right" valign="top">
292 <td colspan="2" class="summary">
293 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a></code></b> (private):
294 <code><a href="lxml.objectify.ObjectifiedDataElement-class.html#_setText" onclick="show_private();">_setText</a></code>
296 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
297 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delattr__">__delattr__</a></code>,
298 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delitem__">__delitem__</a></code>,
299 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattr__">__getattr__</a></code>,
300 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattribute__">__getattribute__</a></code>,
301 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getitem__">__getitem__</a></code>,
302 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__iter__">__iter__</a></code>,
303 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__len__">__len__</a></code>,
304 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__reduce__">__reduce__</a></code>,
305 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setattr__">__setattr__</a></code>,
306 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setitem__">__setitem__</a></code>,
307 <code><a href="lxml.objectify.ObjectifiedElement-class.html#addattr">addattr</a></code>,
308 <code><a href="lxml.objectify.ObjectifiedElement-class.html#countchildren">countchildren</a></code>,
309 <code><a href="lxml.objectify.ObjectifiedElement-class.html#descendantpaths">descendantpaths</a></code>,
310 <code><a href="lxml.objectify.ObjectifiedElement-class.html#getchildren">getchildren</a></code>
312 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a></code></b>:
313 <code><a href="lxml.etree.ElementBase-class.html#__init__">__init__</a></code>
315 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
316 <code><a href="lxml.etree._Element-class.html#__contains__">__contains__</a></code>,
317 <code><a href="lxml.etree._Element-class.html#__copy__">__copy__</a></code>,
318 <code><a href="lxml.etree._Element-class.html#__deepcopy__">__deepcopy__</a></code>,
319 <code><a href="lxml.etree._Element-class.html#__reversed__">__reversed__</a></code>,
320 <code><a href="lxml.etree._Element-class.html#addnext">addnext</a></code>,
321 <code><a href="lxml.etree._Element-class.html#addprevious">addprevious</a></code>,
322 <code><a href="lxml.etree._Element-class.html#append">append</a></code>,
323 <code><a href="lxml.etree._Element-class.html#clear">clear</a></code>,
324 <code><a href="lxml.etree._Element-class.html#cssselect">cssselect</a></code>,
325 <code><a href="lxml.etree._Element-class.html#extend">extend</a></code>,
326 <code><a href="lxml.etree._Element-class.html#find">find</a></code>,
327 <code><a href="lxml.etree._Element-class.html#findall">findall</a></code>,
328 <code><a href="lxml.etree._Element-class.html#findtext">findtext</a></code>,
329 <code><a href="lxml.etree._Element-class.html#get">get</a></code>,
330 <code><a href="lxml.etree._Element-class.html#getiterator">getiterator</a></code>,
331 <code><a href="lxml.etree._Element-class.html#getnext">getnext</a></code>,
332 <code><a href="lxml.etree._Element-class.html#getparent">getparent</a></code>,
333 <code><a href="lxml.etree._Element-class.html#getprevious">getprevious</a></code>,
334 <code><a href="lxml.etree._Element-class.html#getroottree">getroottree</a></code>,
335 <code><a href="lxml.etree._Element-class.html#index">index</a></code>,
336 <code><a href="lxml.etree._Element-class.html#insert">insert</a></code>,
337 <code><a href="lxml.etree._Element-class.html#items">items</a></code>,
338 <code><a href="lxml.etree._Element-class.html#iter">iter</a></code>,
339 <code><a href="lxml.etree._Element-class.html#iterancestors">iterancestors</a></code>,
340 <code><a href="lxml.etree._Element-class.html#iterchildren">iterchildren</a></code>,
341 <code><a href="lxml.etree._Element-class.html#iterdescendants">iterdescendants</a></code>,
342 <code><a href="lxml.etree._Element-class.html#iterfind">iterfind</a></code>,
343 <code><a href="lxml.etree._Element-class.html#itersiblings">itersiblings</a></code>,
344 <code><a href="lxml.etree._Element-class.html#itertext">itertext</a></code>,
345 <code><a href="lxml.etree._Element-class.html#keys">keys</a></code>,
346 <code><a href="lxml.etree._Element-class.html#makeelement">makeelement</a></code>,
347 <code><a href="lxml.etree._Element-class.html#remove">remove</a></code>,
348 <code><a href="lxml.etree._Element-class.html#replace">replace</a></code>,
349 <code><a href="lxml.etree._Element-class.html#set">set</a></code>,
350 <code><a href="lxml.etree._Element-class.html#values">values</a></code>,
351 <code><a href="lxml.etree._Element-class.html#xpath">xpath</a></code>
353 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b> (private):
354 <code><a href="lxml.etree._Element-class.html#_init" onclick="show_private();">_init</a></code>
356 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
357 <code>__format__</code>,
358 <code>__reduce_ex__</code>,
359 <code>__sizeof__</code>,
360 <code>__subclasshook__</code>
365 <!-- ==================== PROPERTIES ==================== -->
366 <a name="section-Properties"></a>
367 <table class="summary" border="1" cellpadding="3"
368 cellspacing="0" width="100%" bgcolor="white">
369 <tr bgcolor="#70b0f0" class="table-header">
370 <td colspan="2" class="table-header">
371 <table border="0" cellpadding="0" cellspacing="0" width="100%">
373 <td align="left"><span class="table-header">Properties</span></td>
374 <td align="right" valign="top"
375 ><span class="options">[<a href="#section-Properties"
376 class="privatelink" onclick="toggle_private();"
377 >hide private</a>]</span></td>
383 <td width="15%" align="right" valign="top" class="summary">
384 <span class="summary-type"> </span>
385 </td><td class="summary">
386 <a name="pyval"></a><span class="summary-name">pyval</span>
390 <td colspan="2" class="summary">
391 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
392 <code><a href="lxml.objectify.ObjectifiedElement-class.html#text">text</a></code>
394 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
395 <code><a href="lxml.etree._Element-class.html#attrib">attrib</a></code>,
396 <code><a href="lxml.etree._Element-class.html#base">base</a></code>,
397 <code><a href="lxml.etree._Element-class.html#nsmap">nsmap</a></code>,
398 <code><a href="lxml.etree._Element-class.html#prefix">prefix</a></code>,
399 <code><a href="lxml.etree._Element-class.html#sourceline">sourceline</a></code>,
400 <code><a href="lxml.etree._Element-class.html#tag">tag</a></code>,
401 <code><a href="lxml.etree._Element-class.html#tail">tail</a></code>
403 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
404 <code>__class__</code>
409 <!-- ==================== METHOD DETAILS ==================== -->
410 <a name="section-MethodDetails"></a>
411 <table class="details" border="1" cellpadding="3"
412 cellspacing="0" width="100%" bgcolor="white">
413 <tr bgcolor="#70b0f0" class="table-header">
414 <td colspan="2" class="table-header">
415 <table border="0" cellpadding="0" cellspacing="0" width="100%">
417 <td align="left"><span class="table-header">Method Details</span></td>
418 <td align="right" valign="top"
419 ><span class="options">[<a href="#section-MethodDetails"
420 class="privatelink" onclick="toggle_private();"
421 >hide private</a>]</span></td>
427 <a name="__hash__"></a>
429 <table class="details" border="1" cellpadding="3"
430 cellspacing="0" width="100%" bgcolor="white">
432 <table width="100%" cellpadding="0" cellspacing="0" border="0">
433 <tr valign="top"><td>
434 <h3 class="epydoc"><span class="sig"><span class="sig-name">__hash__</span>(<span class="sig-arg">x</span>)</span>
435 <br /><em class="fname">(Hashing function)</em>
437 </td><td align="right" valign="top"
450 <a name="__new__"></a>
452 <table class="details" border="1" cellpadding="3"
453 cellspacing="0" width="100%" bgcolor="white">
455 <table width="100%" cellpadding="0" cellspacing="0" border="0">
456 <tr valign="top"><td>
457 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
458 <span class="sig-arg">S</span>,
459 <span class="sig-arg">...</span>)</span>
461 </td><td align="right" valign="top"
468 <dt>Returns: a new object with type S, a subtype of T</dt>
475 <a name="__nonzero__"></a>
477 <table class="details" border="1" cellpadding="3"
478 cellspacing="0" width="100%" bgcolor="white">
480 <table width="100%" cellpadding="0" cellspacing="0" border="0">
481 <tr valign="top"><td>
482 <h3 class="epydoc"><span class="sig"><span class="sig-name">__nonzero__</span>(<span class="sig-arg">x</span>)</span>
483 <br /><em class="fname">(Boolean test operator)</em>
485 </td><td align="right" valign="top"
493 <a href="lxml.etree._Element-class.html#__nonzero__">etree._Element.__nonzero__</a>
498 <a name="__repr__"></a>
500 <table class="details" border="1" cellpadding="3"
501 cellspacing="0" width="100%" bgcolor="white">
503 <table width="100%" cellpadding="0" cellspacing="0" border="0">
504 <tr valign="top"><td>
505 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">x</span>)</span>
506 <br /><em class="fname">(Representation operator)</em>
508 </td><td align="right" valign="top"
521 <a name="__str__"></a>
523 <table class="details" border="1" cellpadding="3"
524 cellspacing="0" width="100%" bgcolor="white">
526 <table width="100%" cellpadding="0" cellspacing="0" border="0">
527 <tr valign="top"><td>
528 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">x</span>)</span>
529 <br /><em class="fname">(Informal representation operator)</em>
531 </td><td align="right" valign="top"
545 <!-- ==================== NAVIGATION BAR ==================== -->
546 <table class="navbar" border="0" width="100%" cellpadding="0"
547 bgcolor="#a0c0ff" cellspacing="0">
550 <th> <a
551 href="lxml-module.html">Home</a> </th>
554 <th> <a
555 href="module-tree.html">Trees</a> </th>
558 <th> <a
559 href="identifier-index.html">Indices</a> </th>
562 <th> <a
563 href="help.html">Help</a> </th>
565 <!-- Project homepage -->
566 <th class="navbar" align="right" width="100%">
567 <table border="0" cellpadding="0" cellspacing="0">
568 <tr><th class="navbar" align="center"
569 ><a class="navbar" target="_top" href="/">lxml API</a></th>
573 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
575 <td align="left" class="footer">
576 Generated by Epydoc 3.0.1
577 on Wed Jan 29 12:26:21 2020
579 <td align="right" class="footer">
580 <a target="mainFrame" href="http://epydoc.sourceforge.net"
581 >http://epydoc.sourceforge.net</a>
586 <script type="text/javascript">
588 // Private objects are initially displayed (because if
589 // javascript is turned off then we want them to be
590 // visible); but by default, we want to hide them. So hide
591 // them unless we have a cookie that says to show them.