Package svs_core :: Package filehandling :: Module loaders :: Class DocumentLoaderXML
[show private | hide private]
[frames | no frames]

Class DocumentLoaderXML

DocumentLoader --+
                 |
                DocumentLoaderXML

Known Subclasses:
GameSettingsLoaderXML, SVGLoader

Generic class for reading and writing document data in xml format.
Method Summary
  __init__(self, target, contentHandlerClass)
  read(self, path)
Reads document from path.
DOM toDOM(self)
Converts profile data to xml DOM.
string toxml(self)
Converts profile data to xml text.
  write(self, path)
Writes profile to output.

Method Details

read(self, path)

Reads document from path.
Parameters:
path - pathname to actor
           (type=string)
Overrides:
svs_core.filehandling.loaders.DocumentLoader.read

toDOM(self)

Converts profile data to xml DOM.
Returns:
profile data as DOM object
           (type=DOM)

toxml(self)

Converts profile data to xml text.
Returns:
profile data in xml encoding
           (type=string)

write(self, path)

Writes profile to output.
Parameters:
path - pathname to profile
           (type=string)
Overrides:
svs_core.filehandling.loaders.DocumentLoader.write

Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 http://epydoc.sf.net