lxml.objectify.NumberElement

Package lxml :: Module objectify :: Class NumberElement |
[hide private]
[frames] | no frames]

# Class NumberElement

        object --+
                 |
    etree._Element --+
                     |
     etree.ElementBase --+
                         |
        ObjectifiedElement --+
                             |
        ObjectifiedDataElement --+
                                 |
                                NumberElement

Known Subclasses:
  - IntElement
  - , FloatElement
  - , LongElement

Instance Methods | [hide private]
__abs__(x) abs(x) |
__add__(x, y) x+y |
__and__(x, y) x&y |
__complex__(...) |
__div__(x, y) x/y |
__eq__(x, y) x==y |
__float__(x) float(x) |
__ge__(x, y) x>=y |
__gt__(x, y) x>y |
__hash__(x) hash(x) |
__hex__(x) hex(x) |
__int__(x) int(x) |
__invert__(x) ~x |
__le__(x, y) x<=y |
__long__(x) long(x) |
__lshift__(x, y) x<<y |
__lt__(x, y) x<y |
__mod__(x, y) x%y |
__mul__(x, y) x*y |
__ne__(x, y) x!=y |
__neg__(x) -x |
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__nonzero__(x) x != 0 |
__oct__(x) oct(x) |
__or__(x, y) x|y |
__pos__(x) +x |
__pow__(x, y, z=...) pow(x, y[, z]) |
__radd__(x, y) y+x |
__rand__(x, y) y&x |
__rdiv__(x, y) y/x |
__repr__(x) repr(x) |
__rlshift__(x, y) y<<x |
__rmod__(x, y) y%x |
__rmul__(x, y) y*x |
__ror__(x, y) y|x |
__rpow__(y, x, z=...) pow(x, y[, z]) |
__rrshift__(x, y) y>>x |
__rshift__(x, y) x>>y |
__rsub__(x, y) y-x |
__rtruediv__(x, y) y/x |
__rxor__(x, y) y^x |
__str__(x) str(x) |
__sub__(x, y) x-y |
__truediv__(x, y) x/y |
__xor__(x, y) x^y |
_setValueParser(...) Set the function that parses the Python value from a string. |
Inherited from `ObjectifiedDataElement` (private): `_setText` Inherited from `ObjectifiedElement`: `__delattr__`, `__delitem__`, `__getattr__`, `__getattribute__`, `__getitem__`, `__iter__`, `__len__`, `__reduce__`, `__setattr__`, `__setitem__`, `addattr`, `countchildren`, `descendantpaths`, `find`, `findall`, `findtext`, `getchildren`, `iterfind` Inherited from `etree.ElementBase`: `__init__` Inherited from `etree._Element`: `__contains__`, `__copy__`, `__deepcopy__`, `__reversed__`, `addnext`, `addprevious`, `append`, `clear`, `extend`, `get`, `getiterator`, `getnext`, `getparent`, `getprevious`, `getroottree`, `index`, `insert`, `items`, `iter`, `iterancestors`, `iterchildren`, `iterdescendants`, `itersiblings`, `itertext`, `keys`, `makeelement`, `remove`, `replace`, `set`, `values`, `xpath` Inherited from `etree._Element` (private): `_init` Inherited from `object`: `__format__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]
| pyval
Inherited from `ObjectifiedElement`: `text` Inherited from `etree._Element`: `attrib`, `base`, `nsmap`, `prefix`, `sourceline`, `tag`, `tail` Inherited from `object`: `__class__`

Method Details | [hide private]

### __hash__(x) (Hashing function) |
hash(x) Overrides: object.__hash__

### __new__(T, S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### __nonzero__(x) (Boolean test operator) |
x != 0 Overrides: etree._Element.__nonzero__

### __repr__(x) (Representation operator) |
repr(x) Overrides: object.__repr__

### __str__(x) (Informal representation operator) |
str(x) Overrides: object.__str__

### _setValueParser(...) |
Set the function that parses the Python value from a string. Do not use this unless you know what you are doing.