Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Private Attributes
MoinMoin.widget.html.INS Class Reference
Inheritance diagram for MoinMoin.widget.html.INS:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.widget.html.INS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def append
def extend
def __unicode__
def tagname

Public Attributes

 children
 attrs

Static Private Attributes

dictionary _ATTRS

Detailed Description

Definition at line 419 of file html.py.


Member Function Documentation

Reimplemented from MoinMoin.widget.html.Element.

Definition at line 119 of file html.py.

00119 
00120     def __unicode__(self):
00121         childout = []
00122         for c in self.children:
00123             co = unicode(c)
00124             childout.append(co)
00125         return "<%s>%s</%s>" % (
00126             self._openingtag(),
00127             u''.join(childout),
00128             self.tagname(),
00129         )
00130 

Here is the call graph for this function:

def MoinMoin.widget.html.CompositeElement.append (   self,
  child 
) [inherited]
Append child 

Definition at line 109 of file html.py.

00109 
00110     def append(self, child):
00111         """ Append child """
00112         self.children.append(child)
00113         return self

Here is the caller graph for this function:

def MoinMoin.widget.html.CompositeElement.extend (   self,
  children 
) [inherited]

Definition at line 114 of file html.py.

00114 
00115     def extend(self, children):
00116         for child in children:
00117             self.append(child)
00118         return self

Here is the call graph for this function:

def MoinMoin.widget.html.Element.tagname (   self) [inherited]

Definition at line 72 of file html.py.

00072 
00073     def tagname(self):
00074         return self.__class__.__name__.lower()

Here is the caller graph for this function:


Member Data Documentation

dictionary MoinMoin.widget.html.INS._ATTRS [static, private]
Initial value:
{
        'class': None,
    }

Reimplemented from MoinMoin.widget.html.Element.

Definition at line 421 of file html.py.

Definition at line 69 of file html.py.

Definition at line 107 of file html.py.


The documentation for this class was generated from the following file: