|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.xml.XMLParser
org.stanwood.media.store.xmlstore.XMLVideo
org.stanwood.media.store.xmlstore.XMLEpisode
public class XMLEpisode
Episode information for the store XMLStore2
, that access the information from the XML File
Field Summary |
---|
Fields inherited from class org.stanwood.media.xml.XMLParser |
---|
DTD_WEB_LOCATION, SCHEMA_WEB_LOCATION |
Constructor Summary | |
---|---|
XMLEpisode(ISeason season,
org.w3c.dom.Element node,
java.io.File rootMediaDir)
The constructor |
Method Summary | |
---|---|
java.util.Date |
getDate()
Gets the first air date of the episode |
java.lang.String |
getEpisodeId()
Used to get the numeric unique episode id used by the source |
int |
getEpisodeNumber()
Gets the number of the episode. |
java.net.URL |
getImageURL()
Used to get a URL which points to a image of the episode |
ISeason |
getSeason()
Get the season the episode belongs too |
java.net.URL |
getUrl()
Used to get the URL used to get a summary of the show |
boolean |
isSpecial()
Used to find out if this is a special |
void |
setDate(java.util.Date airDate)
Sets the air date of the show |
void |
setEpisodeId(java.lang.String episodeId)
Used to set the numeric unique episode id used by the source |
void |
setEpisodeNumber(int episodeNumner)
Sets the number of the episode. |
void |
setImageURL(java.net.URL imageURL)
Used to set a URL which points too a image of the episode |
void |
setUrl(java.net.URL url)
Used to set the URL used to get a summary of the show |
Methods inherited from class org.stanwood.media.store.xmlstore.XMLVideo |
---|
getActors, getDirectors, getFiles, getRating, getSummary, getTitle, getWriters, setActors, setDirectors, setFiles, setRating, setSummary, setTitle, setWriters |
Methods inherited from class org.stanwood.media.xml.XMLParser |
---|
createDocBuilder, createFactory, deleteNode, domToStr, encodeAttributeValue, firstChild, getAttribute, getElement, getFirstChildElement, getFloatFromXML, getIntegerFromXML, getLastChildElement, getLongFromXML, getSchema, getStringFromXML, getStringFromXMLOrNull, getURLFromXML, getURLFromXMLOrNull, hasNode, parse, parse, parse, quoteXPathQuery, selectChildNodes, selectNodeList, selectSingleNode, strToDom, strToDom, strToDom, writeXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.stanwood.media.model.IVideo |
---|
getDirectors, getFiles, getSummary, getTitle, getWriters, setDirectors, setFiles, setSummary, setTitle, setWriters |
Methods inherited from interface org.stanwood.media.model.IVideoActors |
---|
getActors, setActors |
Methods inherited from interface org.stanwood.media.model.IVideoRating |
---|
getRating, setRating |
Constructor Detail |
---|
public XMLEpisode(ISeason season, org.w3c.dom.Element node, java.io.File rootMediaDir)
season
- The seasonnode
- The episode XML noderootMediaDir
- The media directory locationMethod Detail |
---|
public ISeason getSeason()
getSeason
in interface IEpisode
public int getEpisodeNumber()
getEpisodeNumber
in interface IEpisode
public void setEpisodeNumber(int episodeNumner)
setEpisodeNumber
in interface IEpisode
public void setDate(java.util.Date airDate)
setDate
in interface IEpisode
airDate
- The air date of the showpublic java.util.Date getDate()
getDate
in interface IEpisode
public boolean isSpecial()
isSpecial
in interface IEpisode
public void setUrl(java.net.URL url)
setUrl
in interface IEpisode
url
- The summary URLpublic java.net.URL getUrl()
getUrl
in interface IEpisode
public java.lang.String getEpisodeId()
getEpisodeId
in interface IEpisode
public void setEpisodeId(java.lang.String episodeId)
setEpisodeId
in interface IEpisode
episodeId
- The numeric unique episode id used by the sourcepublic void setImageURL(java.net.URL imageURL)
setImageURL
in interface IEpisode
imageURL
- A URL which points too a image of the episodepublic java.net.URL getImageURL()
getImageURL
in interface IEpisode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |