Package pygene :: Module xmlio :: Class PGXmlMixin
[show private | hide private]
[frames | no frames]

Type PGXmlMixin

object --+
         |
        PGXmlMixin

Known Subclasses:
BaseGene, BaseOrganism, Gamete, Population

mixin class to support pygene classes serialising themselves to/from xml
Method Summary
  xmlDump(self, fileobj)
Dumps out the population to an open file in XML format.
  xmlDumpAttribs(self, tag)
  xmlDumpClass(self, tag)
dumps out class information
  xmlDumps(self)
dumps out to xml, returning a string of the raw generated xml
  xmlDumpSelf(self, doc, parent)
Writes out the contents of this population into the xml tree
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

xmlDump(self, fileobj)

Dumps out the population to an open file in XML format.

To dump to a string, use .xmlDumps() instead

xmlDumpClass(self, tag)

dumps out class information

xmlDumps(self)

dumps out to xml, returning a string of the raw generated xml

xmlDumpSelf(self, doc, parent)

Writes out the contents of this population into the xml tree

Generated by Epydoc 2.1 on Mon Dec 12 14:37:12 2005 http://epydoc.sf.net