Home | Trees | Indices | Help |
|
---|
|
object --+ | XmlTagWriter
|
|||
|
__init__(self,
name,
attribs,
value,
hasChildren,
hasValue,
tabs,
output) Initializes the tag writer |
||
|
writeTag(self) Writes the tag. |
||
|
writeComment(self) If name is set to '_comment_' this function is called.
|
||
|
writeEndTag(self) Writes the ending tag for an element. |
||
|
writeTabs(self,
tabSpec=None,
tabs=None) Writes out the tabs before an element. |
||
Inherited from |
|
|||
Inherited from |
|
Initializes the tag writer parameters:
|
Writes the tag. Called from the init function. All its non-necessary formatting is standard and is not dependant apon specifics of the format of the data. No parameters |
If No parameters |
Writes the ending tag for an element. Called by the tree writer if the element has children. It is called only after the other children have been written. An end tag appear as follows:: </TagName> no parameters |
Writes out the tabs before an element. Can also write a certain number
of spaces after the tabs have been written, if parameters:
value provided in the initialization. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Thu Sep 07 21:19:41 2006 | http://epydoc.sourceforge.net |