eric3.XML.XMLWriterBase

Module implementing a base class for all of eric3s XML writers.

Classes

XMLWriterBase Class implementing a base class for all of eric3s XML writers.

Functions

None


XMLWriterBase

Class implementing a base class for all of eric3s XML writers.

Derived from

None

Methods

XMLWriterBase Constructor
_write Protected method used to do the real write operation.
writeXML Public method to write the XML to the file.

XMLWriterBase (Constructor)

XMLWriterBase(file)

Constructor

file
open file (like) object for writing

XMLWriterBase._write

_write(s, newline=1)

Protected method used to do the real write operation.

newline
flag indicating a linebreak
s
string to be written to the XML file

XMLWriterBase.writeXML

writeXML()

Public method to write the XML to the file.

Up