Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-00ddc7f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalinference.bayespputils.htmlChunk Class Reference

Detailed Description

A base class for representing web content using ElementTree .

Definition at line 2841 of file bayespputils.py.

Inherits object.

Inherited by lalinference.bayespputils.htmlCollapseSection, lalinference.bayespputils.htmlPage, and lalinference.bayespputils.htmlSection.

Public Member Functions

def __init__ (self, tag, attrib=None, parent=None)
 
def toprettyxml (self)
 Return a pretty-printed XML string of the htmlPage. More...
 
def __str__ (self)
 
def write (self, string)
 
def p (self, pstring)
 
def h1 (self, h1string)
 
def h5 (self, h1string)
 
def h2 (self, h2string)
 
def h3 (self, h1string)
 
def br (self)
 
def hr (self)
 
def a (self, url, linktext)
 
def tab (self, idtable=None)
 
def insert_row (self, tab, label=None)
 Insert row in table tab. More...
 
def insert_td (self, row, td, label=None, legend=None)
 Insert cell td into row row. More...
 
def append (self, element)
 

Constructor & Destructor Documentation

◆ __init__()

def lalinference.bayespputils.htmlChunk.__init__ (   self,
  tag,
  attrib = None,
  parent = None 
)

Member Function Documentation

◆ toprettyxml()

def lalinference.bayespputils.htmlChunk.toprettyxml (   self)

Return a pretty-printed XML string of the htmlPage.

Definition at line 2854 of file bayespputils.py.

◆ __str__()

def lalinference.bayespputils.htmlChunk.__str__ (   self)

Reimplemented in lalinference.bayespputils.htmlPage.

Definition at line 2860 of file bayespputils.py.

◆ write()

def lalinference.bayespputils.htmlChunk.write (   self,
  string 
)

Reimplemented in lalinference.bayespputils.htmlCollapseSection.

Definition at line 2863 of file bayespputils.py.

◆ p()

def lalinference.bayespputils.htmlChunk.p (   self,
  pstring 
)

Definition at line 2869 of file bayespputils.py.

◆ h1()

def lalinference.bayespputils.htmlChunk.h1 (   self,
  h1string 
)

Definition at line 2875 of file bayespputils.py.

◆ h5()

def lalinference.bayespputils.htmlChunk.h5 (   self,
  h1string 
)

Definition at line 2881 of file bayespputils.py.

◆ h2()

def lalinference.bayespputils.htmlChunk.h2 (   self,
  h2string 
)

Definition at line 2887 of file bayespputils.py.

◆ h3()

def lalinference.bayespputils.htmlChunk.h3 (   self,
  h1string 
)

Definition at line 2893 of file bayespputils.py.

◆ br()

def lalinference.bayespputils.htmlChunk.br (   self)

Definition at line 2899 of file bayespputils.py.

◆ hr()

def lalinference.bayespputils.htmlChunk.hr (   self)

Definition at line 2904 of file bayespputils.py.

◆ a()

def lalinference.bayespputils.htmlChunk.a (   self,
  url,
  linktext 
)

Definition at line 2909 of file bayespputils.py.

◆ tab()

def lalinference.bayespputils.htmlChunk.tab (   self,
  idtable = None 
)

Definition at line 2916 of file bayespputils.py.

◆ insert_row()

def lalinference.bayespputils.htmlChunk.insert_row (   self,
  tab,
  label = None 
)

Insert row in table tab.

If given, label used as id for the table tag

Definition at line 2929 of file bayespputils.py.

◆ insert_td()

def lalinference.bayespputils.htmlChunk.insert_td (   self,
  row,
  td,
  label = None,
  legend = None 
)

Insert cell td into row row.

Sets id to label, if given

Definition at line 2942 of file bayespputils.py.

◆ append()

def lalinference.bayespputils.htmlChunk.append (   self,
  element 
)

Definition at line 2961 of file bayespputils.py.