| Home | Trees | Index | Help |
|---|
| Package musicbrainz2 :: Module wsxml :: Class MbXmlParser |
|
object --+
|
MbXmlParser
A parser for the Music Metadata XML format.
This parser supports all basic features and extensions defined by
MusicBrainz, including unlimited document nesting. By default it reads an
XML document from a file-like object (stream) and returns an object tree
representing the document using classes from musicbrainz2.model.
ParseError exception is raised.
See Also: The Music Metadata XML Format
| Method Summary | |
|---|---|
Constructor. | |
Parses the MusicBrainz web service XML. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
factory=<musicbrainz2.wsxml.DefaultFactory object at 0x3b035d2c>)
|
parse(self, inStream)Parses the MusicBrainz web service XML. Returns a IOError may be raised if there is a
problem reading inStream.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sat Aug 26 18:34:31 2006 | http://epydoc.sf.net |