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

Class ObjectifiedDataElement



    object --+            
             |            
etree._Element --+        
                 |        
 etree.ElementBase --+    
                     |    
    ObjectifiedElement --+
                         |
                        ObjectifiedDataElement
Known Subclasses:
BoolElement, 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]
 
__new__(T, S, ...)
Returns: a new object with type S, a subtype of T
 
__repr__(...)
repr(x)
 
__str__(...)
 
_setText(...)
For use in subclasses only.

Inherited from ObjectifiedElement: __delattr__, __delitem__, __getattr__, __getattribute__, __getitem__, __iter__, __len__, __setattr__, __setitem__, addattr, countchildren, descendantpaths, find, findall, findtext, getchildren, iterfind

Inherited from etree._Element: __contains__, __copy__, __deepcopy__, __nonzero__, __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: __hash__, __init__, __reduce__, __reduce_ex__

Properties [hide private]
  pyval

Inherited from ObjectifiedElement: text

Inherited from etree._Element: attrib, 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: ObjectifiedElement.__new__

__repr__(...)
(Representation operator)

 
repr(x)
Overrides: etree._Element.__repr__

__str__(...)
(Informal representation operator)

 
Overrides: ObjectifiedElement.__str__

_setText(...)

 
For use in subclasses only. Don't use unless you know what you are doing.