A parser for the Music Metadata XML format.
More...
Detailed Description
A parser for the Music Metadata XML format.
- See Also
- The Music Metadata XML Format
Constructor & Destructor Documentation
MusicBrainz::MbXmlParser::MbXmlParser |
( |
| ) |
|
virtual MusicBrainz::MbXmlParser::~MbXmlParser |
( |
| ) |
|
|
virtual |
Member Function Documentation
Metadata* MusicBrainz::MbXmlParser::parse |
( |
const std::string & |
data | ) |
|
Parses the MusicBrainz web service XML.
Returns a Metadata object representing the parsed XML or raises a ParseError exception if the data was malformed. The parser tries to be liberal and skips invalid content if possible.
- Parameters
-
data | a string containing the XML data |
- Returns
- a Metadata object (never NULL)
- Exceptions
-