WebService::MusicBrainz::Response (3)
Leading comments
Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAME
WebService::MusicBrainz::ResponseSYNOPSIS
DESCRIPTION
This module will hide the details of theXML
web service response and provide an API
to query the XML
data which has been returned. This module is responsible for parsing the XML
web service response and instantiating objects to provide access to the details of the response.
METHODS
new()
This method is the constructor and it will call for initialization.xpc()
as_xml()
This method returns the rawXML
from the MusicBrainz web service response.
generator()
This method will return an optional value of the generator.created()
This method will return an optional value of the created date.score()
This method will return an optional value of the relevance score.metadata()
This method will return an Response::Metadata object.artist()
This method will return an Response::Artist object.release()
This method will return an Reponse::Release object;.track()
This method will return an Response::Track object.label()
This method will return an Response::Label object.artist_list()
This method will return a reference to the Response::ArtistList object in a scalar context. If in a array context, an array of Response::Artist objects will be returned.release_list()
This method will return a reference to the Response::ReleaseList object in a scalar context. If in a array context, an array of Response::Release objects will be returned.track_list()
This method will return a reference to the Response::TrackList object in a scalar context. If in a array context, an array of Response::Track objects will be returned.label_list()
This method will return a reference to the Response::LabelList object in a scalar context. If in a array context, an array of Response::Label objects will be returned.AUTHOR
- Bob Faist <bob.faist@gmail.com>
COPYRIGHT AND LICENSE
Copyright 2006-2007 by Bob FaistThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.