DTD_WEB_LOCATION, SCHEMA_WEB_LOCATION
Constructor and Description |
---|
XMLSeason(IShow show,
org.w3c.dom.Element seasonNode)
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getImageURL()
Used to get a URL which points too a image of the season
|
int |
getSeasonNumber()
Get the number of the season
|
IShow |
getShow()
Get the show the season belongs too
|
java.net.URL |
getURL()
Used to get the episode listing URL for the season
|
void |
setImageURL(java.net.URL imageURL)
Used to set a URL which points too a image of the season
|
void |
setSeasonNumber(int seasonNumber)
Used to set the season number
|
void |
setURL(java.net.URL url)
Sets the episode listing URL for the season
|
createDocBuilder, createFactory, deleteNode, domToStr, domToStrNoXMLProlog, encodeAttributeValue, firstChild, fixXMl, getAttribute, getElement, getFirstChildElement, getFloatFromXML, getIntegerFromXML, getLastChildElement, getLongFromXML, getSchema, getStringFromXML, getStringFromXMLOrNull, getURLFromXML, getURLFromXMLOrNull, hasNode, parse, parse, parse, quoteXPathQuery, selectChildNodes, selectNodeList, selectSingleNode, strToDom, strToDom, strToDom, writeXML
public XMLSeason(IShow show, org.w3c.dom.Element seasonNode)
show
- The showseasonNode
- The season xml nodepublic java.net.URL getURL()
public void setURL(java.net.URL url)
public int getSeasonNumber()
getSeasonNumber
in interface ISeason
public IShow getShow()
public void setSeasonNumber(int seasonNumber)
setSeasonNumber
in interface ISeason
seasonNumber
- the season numberpublic java.net.URL getImageURL()
getImageURL
in interface ISeason
public void setImageURL(java.net.URL imageURL)
setImageURL
in interface ISeason
imageURL
- A URL which points too a image of the season