class SimpleTreeBuilder(Builder): (source)
Known subclasses: zim.templates.parser.TemplateTreeBuilder
SimpleTreeElements| Method | __init__ |
Undocumented |
| Method | append |
No summary |
| Method | end |
No summary |
| Method | get_root |
Undocumented |
| Method | start |
No summary |
| Method | text |
Append text @param text: text to be appended as string @implementation: must be implemented by sub-classes |
| Instance Variable | elementfactory |
Undocumented |
| Instance Variable | merge_text |
Undocumented |
| Instance Variable | root |
Undocumented |
| Instance Variable | stack |
Undocumented |
zim.parser.Builder.append| Parameters | |
| tag | the tag name |
| attrib | optional dict with attributes |
| text | formatted text |
| Unknown Field: implementation | |
optional for subclasses, default implementation calls start(), text(), and end() | |
zim.parser.Builder.end| Parameters | |
| tag | the tag name |
| Raises | |
XXX | when tag does not match current state |
| Unknown Field: implementation | |
| must be implemented by sub-classes | |
zim.parser.Builder.startzim.templates.parser.TemplateTreeBuilder| Parameters | |
| tag | the tag name |
| attrib | optional dict with attributes |
| Unknown Field: implementation | |
| must be implemented by sub-classes | |
zim.parser.Builder.text| Parameters | |
| text | text to be appended as string |
| Unknown Field: implementation | |
| must be implemented by sub-classes | |