Package pylal :: Module bayespputils :: Class htmlChunk
[hide private]
[frames] | no frames]

Class htmlChunk

source code

object --+
         |
        htmlChunk

A base class for representing web content using ElementTree .

Instance Methods [hide private]
 
__init__(self, tag, attrib=None, parent=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
toprettyxml(self)
Return a pretty-printed XML string of the htmlPage.
source code
 
__str__(self)
str(x)
source code
 
write(self, string) source code
 
p(self, pstring) source code
 
h1(self, h1string) source code
 
h5(self, h1string) source code
 
h2(self, h2string) source code
 
h3(self, h1string) source code
 
br(self) source code
 
hr(self) source code
 
a(self, url, linktext) source code
 
tab(self, idtable=None) source code
 
insert_row(self, tab, label=None)
Insert row in table tab.
source code
 
insert_td(self, row, td, label=None, legend=None)
Insert cell td into row row.
source code
 
append(self, element) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tag, attrib=None, parent=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

insert_row(self, tab, label=None)

source code 

Insert row in table tab. If given, label used as id for the table tag

insert_td(self, row, td, label=None, legend=None)

source code 

Insert cell td into row row. Sets id to label, if given