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.FloatElement</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="http://codespeak.net/lxml/">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 FloatElement
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.FloatElement-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class FloatElement</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">FloatElement</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">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">
105 <td><span class="summary-sig"><a href="lxml.objectify.FloatElement-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">
118 <td width="15%" align="right" valign="top" class="summary">
119 <span class="summary-type"> </span>
120 </td><td class="summary">
121 <table width="100%" cellpadding="0" cellspacing="0" border="0">
123 <td><span class="summary-sig"><a href="lxml.objectify.FloatElement-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.</td>
125 <td align="right" valign="top">
135 <td colspan="2" class="summary">
136 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
137 <code><a href="lxml.objectify.NumberElement-class.html#__abs__">__abs__</a></code>,
138 <code><a href="lxml.objectify.NumberElement-class.html#__add__">__add__</a></code>,
139 <code><a href="lxml.objectify.NumberElement-class.html#__and__">__and__</a></code>,
140 <code><a href="lxml.objectify.NumberElement-class.html#__complex__">__complex__</a></code>,
141 <code><a href="lxml.objectify.NumberElement-class.html#__div__">__div__</a></code>,
142 <code><a href="lxml.objectify.NumberElement-class.html#__eq__">__eq__</a></code>,
143 <code><a href="lxml.objectify.NumberElement-class.html#__float__">__float__</a></code>,
144 <code><a href="lxml.objectify.NumberElement-class.html#__ge__">__ge__</a></code>,
145 <code><a href="lxml.objectify.NumberElement-class.html#__gt__">__gt__</a></code>,
146 <code><a href="lxml.objectify.NumberElement-class.html#__hex__">__hex__</a></code>,
147 <code><a href="lxml.objectify.NumberElement-class.html#__int__">__int__</a></code>,
148 <code><a href="lxml.objectify.NumberElement-class.html#__invert__">__invert__</a></code>,
149 <code><a href="lxml.objectify.NumberElement-class.html#__le__">__le__</a></code>,
150 <code><a href="lxml.objectify.NumberElement-class.html#__long__">__long__</a></code>,
151 <code><a href="lxml.objectify.NumberElement-class.html#__lshift__">__lshift__</a></code>,
152 <code><a href="lxml.objectify.NumberElement-class.html#__lt__">__lt__</a></code>,
153 <code><a href="lxml.objectify.NumberElement-class.html#__mod__">__mod__</a></code>,
154 <code><a href="lxml.objectify.NumberElement-class.html#__mul__">__mul__</a></code>,
155 <code><a href="lxml.objectify.NumberElement-class.html#__ne__">__ne__</a></code>,
156 <code><a href="lxml.objectify.NumberElement-class.html#__neg__">__neg__</a></code>,
157 <code><a href="lxml.objectify.NumberElement-class.html#__nonzero__">__nonzero__</a></code>,
158 <code><a href="lxml.objectify.NumberElement-class.html#__oct__">__oct__</a></code>,
159 <code><a href="lxml.objectify.NumberElement-class.html#__or__">__or__</a></code>,
160 <code><a href="lxml.objectify.NumberElement-class.html#__pos__">__pos__</a></code>,
161 <code><a href="lxml.objectify.NumberElement-class.html#__pow__">__pow__</a></code>,
162 <code><a href="lxml.objectify.NumberElement-class.html#__radd__">__radd__</a></code>,
163 <code><a href="lxml.objectify.NumberElement-class.html#__rand__">__rand__</a></code>,
164 <code><a href="lxml.objectify.NumberElement-class.html#__rdiv__">__rdiv__</a></code>,
165 <code><a href="lxml.objectify.NumberElement-class.html#__repr__">__repr__</a></code>,
166 <code><a href="lxml.objectify.NumberElement-class.html#__rlshift__">__rlshift__</a></code>,
167 <code><a href="lxml.objectify.NumberElement-class.html#__rmod__">__rmod__</a></code>,
168 <code><a href="lxml.objectify.NumberElement-class.html#__rmul__">__rmul__</a></code>,
169 <code><a href="lxml.objectify.NumberElement-class.html#__ror__">__ror__</a></code>,
170 <code><a href="lxml.objectify.NumberElement-class.html#__rpow__">__rpow__</a></code>,
171 <code><a href="lxml.objectify.NumberElement-class.html#__rrshift__">__rrshift__</a></code>,
172 <code><a href="lxml.objectify.NumberElement-class.html#__rshift__">__rshift__</a></code>,
173 <code><a href="lxml.objectify.NumberElement-class.html#__rsub__">__rsub__</a></code>,
174 <code><a href="lxml.objectify.NumberElement-class.html#__rtruediv__">__rtruediv__</a></code>,
175 <code><a href="lxml.objectify.NumberElement-class.html#__rxor__">__rxor__</a></code>,
176 <code><a href="lxml.objectify.NumberElement-class.html#__str__">__str__</a></code>,
177 <code><a href="lxml.objectify.NumberElement-class.html#__sub__">__sub__</a></code>,
178 <code><a href="lxml.objectify.NumberElement-class.html#__truediv__">__truediv__</a></code>,
179 <code><a href="lxml.objectify.NumberElement-class.html#__xor__">__xor__</a></code>
181 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b> (private):
182 <code><a href="lxml.objectify.NumberElement-class.html#_setValueParser" onclick="show_private();">_setValueParser</a></code>
184 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedDataElement-class.html">ObjectifiedDataElement</a></code></b> (private):
185 <code><a href="lxml.objectify.ObjectifiedDataElement-class.html#_setText" onclick="show_private();">_setText</a></code>
187 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
188 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delattr__">__delattr__</a></code>,
189 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__delitem__">__delitem__</a></code>,
190 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattr__">__getattr__</a></code>,
191 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getattribute__">__getattribute__</a></code>,
192 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__getitem__">__getitem__</a></code>,
193 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__iter__">__iter__</a></code>,
194 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__len__">__len__</a></code>,
195 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setattr__">__setattr__</a></code>,
196 <code><a href="lxml.objectify.ObjectifiedElement-class.html#__setitem__">__setitem__</a></code>,
197 <code><a href="lxml.objectify.ObjectifiedElement-class.html#addattr">addattr</a></code>,
198 <code><a href="lxml.objectify.ObjectifiedElement-class.html#countchildren">countchildren</a></code>,
199 <code><a href="lxml.objectify.ObjectifiedElement-class.html#descendantpaths">descendantpaths</a></code>,
200 <code><a href="lxml.objectify.ObjectifiedElement-class.html#find">find</a></code>,
201 <code><a href="lxml.objectify.ObjectifiedElement-class.html#findall">findall</a></code>,
202 <code><a href="lxml.objectify.ObjectifiedElement-class.html#findtext">findtext</a></code>,
203 <code><a href="lxml.objectify.ObjectifiedElement-class.html#getchildren">getchildren</a></code>,
204 <code><a href="lxml.objectify.ObjectifiedElement-class.html#iterfind">iterfind</a></code>
206 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ElementBase-class.html">etree.ElementBase</a></code></b>:
207 <code><a href="lxml.etree.ElementBase-class.html#__init__">__init__</a></code>
209 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
210 <code><a href="lxml.etree._Element-class.html#__contains__">__contains__</a></code>,
211 <code><a href="lxml.etree._Element-class.html#__copy__">__copy__</a></code>,
212 <code><a href="lxml.etree._Element-class.html#__deepcopy__">__deepcopy__</a></code>,
213 <code><a href="lxml.etree._Element-class.html#__reversed__">__reversed__</a></code>,
214 <code><a href="lxml.etree._Element-class.html#addnext">addnext</a></code>,
215 <code><a href="lxml.etree._Element-class.html#addprevious">addprevious</a></code>,
216 <code><a href="lxml.etree._Element-class.html#append">append</a></code>,
217 <code><a href="lxml.etree._Element-class.html#clear">clear</a></code>,
218 <code><a href="lxml.etree._Element-class.html#extend">extend</a></code>,
219 <code><a href="lxml.etree._Element-class.html#get">get</a></code>,
220 <code><a href="lxml.etree._Element-class.html#getiterator">getiterator</a></code>,
221 <code><a href="lxml.etree._Element-class.html#getnext">getnext</a></code>,
222 <code><a href="lxml.etree._Element-class.html#getparent">getparent</a></code>,
223 <code><a href="lxml.etree._Element-class.html#getprevious">getprevious</a></code>,
224 <code><a href="lxml.etree._Element-class.html#getroottree">getroottree</a></code>,
225 <code><a href="lxml.etree._Element-class.html#index">index</a></code>,
226 <code><a href="lxml.etree._Element-class.html#insert">insert</a></code>,
227 <code><a href="lxml.etree._Element-class.html#items">items</a></code>,
228 <code><a href="lxml.etree._Element-class.html#iter">iter</a></code>,
229 <code><a href="lxml.etree._Element-class.html#iterancestors">iterancestors</a></code>,
230 <code><a href="lxml.etree._Element-class.html#iterchildren">iterchildren</a></code>,
231 <code><a href="lxml.etree._Element-class.html#iterdescendants">iterdescendants</a></code>,
232 <code><a href="lxml.etree._Element-class.html#itersiblings">itersiblings</a></code>,
233 <code><a href="lxml.etree._Element-class.html#itertext">itertext</a></code>,
234 <code><a href="lxml.etree._Element-class.html#keys">keys</a></code>,
235 <code><a href="lxml.etree._Element-class.html#makeelement">makeelement</a></code>,
236 <code><a href="lxml.etree._Element-class.html#remove">remove</a></code>,
237 <code><a href="lxml.etree._Element-class.html#replace">replace</a></code>,
238 <code><a href="lxml.etree._Element-class.html#set">set</a></code>,
239 <code><a href="lxml.etree._Element-class.html#values">values</a></code>,
240 <code><a href="lxml.etree._Element-class.html#xpath">xpath</a></code>
242 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
243 <code>__hash__</code>,
244 <code>__reduce__</code>,
245 <code>__reduce_ex__</code>
250 <!-- ==================== PROPERTIES ==================== -->
251 <a name="section-Properties"></a>
252 <table class="summary" border="1" cellpadding="3"
253 cellspacing="0" width="100%" bgcolor="white">
254 <tr bgcolor="#70b0f0" class="table-header">
255 <td colspan="2" class="table-header">
256 <table border="0" cellpadding="0" cellspacing="0" width="100%">
258 <td align="left"><span class="table-header">Properties</span></td>
259 <td align="right" valign="top"
260 ><span class="options">[<a href="#section-Properties"
261 class="privatelink" onclick="toggle_private();"
262 >hide private</a>]</span></td>
268 <td colspan="2" class="summary">
269 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.NumberElement-class.html">NumberElement</a></code></b>:
270 <code><a href="lxml.objectify.NumberElement-class.html#pyval">pyval</a></code>
272 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.objectify.ObjectifiedElement-class.html">ObjectifiedElement</a></code></b>:
273 <code><a href="lxml.objectify.ObjectifiedElement-class.html#text">text</a></code>
275 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree._Element-class.html" onclick="show_private();">etree._Element</a></code></b>:
276 <code><a href="lxml.etree._Element-class.html#attrib">attrib</a></code>,
277 <code><a href="lxml.etree._Element-class.html#base">base</a></code>,
278 <code><a href="lxml.etree._Element-class.html#nsmap">nsmap</a></code>,
279 <code><a href="lxml.etree._Element-class.html#prefix">prefix</a></code>,
280 <code><a href="lxml.etree._Element-class.html#sourceline">sourceline</a></code>,
281 <code><a href="lxml.etree._Element-class.html#tag">tag</a></code>,
282 <code><a href="lxml.etree._Element-class.html#tail">tail</a></code>
284 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
285 <code>__class__</code>
290 <!-- ==================== METHOD DETAILS ==================== -->
291 <a name="section-MethodDetails"></a>
292 <table class="details" border="1" cellpadding="3"
293 cellspacing="0" width="100%" bgcolor="white">
294 <tr bgcolor="#70b0f0" class="table-header">
295 <td colspan="2" class="table-header">
296 <table border="0" cellpadding="0" cellspacing="0" width="100%">
298 <td align="left"><span class="table-header">Method Details</span></td>
299 <td align="right" valign="top"
300 ><span class="options">[<a href="#section-MethodDetails"
301 class="privatelink" onclick="toggle_private();"
302 >hide private</a>]</span></td>
308 <a name="__new__"></a>
310 <table class="details" border="1" cellpadding="3"
311 cellspacing="0" width="100%" bgcolor="white">
313 <table width="100%" cellpadding="0" cellspacing="0" border="0">
314 <tr valign="top"><td>
315 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
316 <span class="sig-arg">S</span>,
317 <span class="sig-arg">...</span>)</span>
319 </td><td align="right" valign="top"
326 <dt>Returns: a new object with type S, a subtype of T</dt>
334 <div class="private">
335 <table class="details" border="1" cellpadding="3"
336 cellspacing="0" width="100%" bgcolor="white">
338 <table width="100%" cellpadding="0" cellspacing="0" border="0">
339 <tr valign="top"><td>
340 <h3 class="epydoc"><span class="sig"><span class="sig-name">_init</span>(<span class="sig-arg">self</span>)</span>
342 </td><td align="right" valign="top"
347 Called after object initialisation. Custom subclasses may override
348 this if they recursively call _init() in the superclasses.
351 <a href="lxml.etree._Element-class.html#_init" onclick="show_private();">etree._Element._init</a>
352 <dd><em class="note">(inherited documentation)</em></dd>
358 <!-- ==================== NAVIGATION BAR ==================== -->
359 <table class="navbar" border="0" width="100%" cellpadding="0"
360 bgcolor="#a0c0ff" cellspacing="0">
363 <th> <a
364 href="lxml-module.html">Home</a> </th>
367 <th> <a
368 href="module-tree.html">Trees</a> </th>
371 <th> <a
372 href="identifier-index.html">Indices</a> </th>
375 <th> <a
376 href="help.html">Help</a> </th>
378 <!-- Project homepage -->
379 <th class="navbar" align="right" width="100%">
380 <table border="0" cellpadding="0" cellspacing="0">
381 <tr><th class="navbar" align="center"
382 ><a class="navbar" target="_top" href="http://codespeak.net/lxml/">lxml API</a></th>
386 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
388 <td align="left" class="footer">
389 Generated by Epydoc 3.0 on Fri Oct 30 14:51:47 2009
391 <td align="right" class="footer">
392 <a target="mainFrame" href="http://epydoc.sourceforge.net"
393 >http://epydoc.sourceforge.net</a>
398 <script type="text/javascript">
400 // Private objects are initially displayed (because if
401 // javascript is turned off then we want them to be
402 // visible); but by default, we want to hide them. So hide
403 // them unless we have a cookie that says to show them.