Package dap :: Package responses :: Package html :: Module templess :: Class elnode
[hide private]
[frames] | no frames]

Class elnode

source code

object --+    
         |    
      list --+
             |
object --+   |
         |   |
      node --+
             |
            elnode
Known Subclasses:
templessnode

XML element

Instance Methods [hide private]
  __init__(self, name, attrs, parent, charset='UTF-8')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  unicode(self)
return a string (XML) representation of ourselves (unrendered!)
  generate(self, context)
returns self as a generator (yielding unicode strings)
  __repr__(self)
repr(x)
  find(self, name)
  _strconvert(self, s)
  _start_node(self, attrs, single)
  _start_node_start(self, attrs)
  _end_node(self)
  _serialize_attrs(self, attrs)
return the attributes as a string

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, name, attrs, parent, charset='UTF-8')
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: list.__init__
(inherited documentation)

unicode(self)

source code 
return a string (XML) representation of ourselves (unrendered!)

generate(self, context)

source code 
returns self as a generator (yielding unicode strings)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: list.__repr__
(inherited documentation)

find(self, name)

source code 
None
Overrides: node.find

_strconvert(self, s)

source code 
None

_start_node(self, attrs, single)

source code 
None

_start_node_start(self, attrs)

source code 
None

_end_node(self)

source code 
None

_serialize_attrs(self, attrs)

source code 
return the attributes as a string