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

# Class ObjectifiedDataElement

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

Known Subclasses:
  - NumberElement
  - , NoneElement
  - , StringElement

This is the base class for all data type Elements. Subclasses should override the 'pyval' property and possibly the __str__ method.

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__repr__(x) repr(x) |
__str__(x) str(x) |
_setText(...) For use in subclasses only. Don't use unless you know what you are doing. |
Inherited from `ObjectifiedElement`: `__delattr__`, `__delitem__`, `__getattr__`, `__getattribute__`, `__getitem__`, `__iter__`, `__len__`, `__reduce__`, `__setattr__`, `__setitem__`, `addattr`, `countchildren`, `descendantpaths`, `getchildren` Inherited from `etree.ElementBase`: `__init__` Inherited from `etree._Element`: `__contains__`, `__copy__`, `__deepcopy__`, `__nonzero__`, `__reversed__`, `addnext`, `addprevious`, `append`, `clear`, `cssselect`, `extend`, `find`, `findall`, `findtext`, `get`, `getiterator`, `getnext`, `getparent`, `getprevious`, `getroottree`, `index`, `insert`, `items`, `iter`, `iterancestors`, `iterchildren`, `iterdescendants`, `iterfind`, `itersiblings`, `itertext`, `keys`, `makeelement`, `remove`, `replace`, `set`, `values`, `xpath` Inherited from `etree._Element` (private): `_init` Inherited from `object`: `__format__`, `__hash__`, `__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]

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

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

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