|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.amazon.AmazonAlbum
public class AmazonAlbum
This class represents data about an album retrieved from Amazon Web Services It's responsible of parsing a xml document returned by Amazon containing data And example of xml document returned can be viewed in a web browser with the following url: http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&Operation= ItemSearch &SubscriptionId=06SX9FYP905XDBHBCZR2&SearchIndex=Music&Artist=Metallica &Title=Load&ResponseGroup=Images,Tracks
Constructor Summary | |
---|---|
protected |
AmazonAlbum()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getAlbum()
Returns the name of the album. |
protected static AmazonAlbum |
getAlbum(org.w3c.dom.Document xml)
Parses xml document and gets data into a new AmazonAlbum object. |
java.lang.String |
getArtist()
Returns the name of the artist. |
java.util.List<AmazonDisc> |
getDiscs()
Return discs. |
java.lang.String |
getImageURL()
Returns cover url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AmazonAlbum()
Method Detail |
---|
protected static AmazonAlbum getAlbum(org.w3c.dom.Document xml)
xml
- the xml
public java.lang.String getAlbum()
public java.lang.String getArtist()
public java.util.List<AmazonDisc> getDiscs()
public java.lang.String getImageURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |