Package creoleparser :: Module elements :: Class BlockElement
[hide private]
[frames] | no frames]

Class BlockElement

source code

 object --+    
          |    
WikiElement --+
              |
             BlockElement
Known Subclasses:

Block elements inherit form this class

Wiki elements wanting append_newline = True should use this as the base also.

Instance Methods [hide private]

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

    Inherited from WikiElement
 
__init__(self, tag, token, child_tags)
Constructor for WikiElement objects.
source code
 
__repr__(self)
repr(x)
source code
 
_build(self, mo, element_store)
Returns a genshi Element that has self.tag as the outermost tag.
source code
 
_process(self, mo, text, wiki_elements, element_store)
Returns genshi Fragments (Elements and text)
source code
 
re_string(self)
The regular expression pattern that is compiled into self.regexp.
source code
Class Variables [hide private]
  append_newline = True
Determines if newlines are appended to Element(s) during processing.
Properties [hide private]

Inherited from object: __class__