|
||||||||||
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
public class XMLVideo
XML Video class that read/sets the information into a dom object
Field Summary |
---|
Fields inherited from class org.stanwood.media.xml.XMLParser |
---|
DTD_WEB_LOCATION, SCHEMA_WEB_LOCATION |
Constructor Summary | |
---|---|
XMLVideo(org.w3c.dom.Element node,
java.io.File rootMediaDir)
The constructor |
Method Summary | |
---|---|
java.util.List<Actor> |
getActors()
Used to get a list of actors in the video |
java.util.List<java.lang.String> |
getDirectors()
Used to get a list of directors for the video |
java.util.Collection<IVideoFile> |
getFiles()
Used to get a list of files that belong to the video entry |
Rating |
getRating()
Used to get the rating of the video |
java.lang.String |
getSummary()
Used to get a summary of the video |
java.lang.String |
getTitle()
Used to get the video title. |
java.util.List<java.lang.String> |
getWriters()
Used to get a list of writers for the video |
void |
setActors(java.util.List<Actor> actors)
Used to set the list of actors in the film |
void |
setDirectors(java.util.List<java.lang.String> directors)
Used to set a list of directors for the episode |
void |
setFiles(java.util.Collection<IVideoFile> videoFiles)
Used to set the list of files that belong to the video entry |
void |
setRating(Rating rating)
Used to set the rating of the video |
void |
setSummary(java.lang.String summary)
Used to set the films summary |
void |
setTitle(java.lang.String title)
Used to set the title of the video |
void |
setWriters(java.util.List<java.lang.String> writers)
Used to set a list of writers for the video |
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 |
Constructor Detail |
---|
public XMLVideo(org.w3c.dom.Element node, java.io.File rootMediaDir)
node
- The node with video datarootMediaDir
- The root media dirMethod Detail |
---|
public java.util.List<Actor> getActors()
getActors
in interface IVideoActors
public void setActors(java.util.List<Actor> actors)
setActors
in interface IVideoActors
actors
- The list of actors in the filmpublic java.util.List<java.lang.String> getWriters()
getWriters
in interface IVideo
public void setWriters(java.util.List<java.lang.String> writers)
setWriters
in interface IVideo
writers
- The list of writerspublic java.lang.String getTitle()
getTitle
in interface IVideo
public void setTitle(java.lang.String title)
setTitle
in interface IVideo
title
- The title of the videopublic java.util.List<java.lang.String> getDirectors()
getDirectors
in interface IVideo
public void setDirectors(java.util.List<java.lang.String> directors)
setDirectors
in interface IVideo
directors
- The list of directors for the episodepublic java.lang.String getSummary()
getSummary
in interface IVideo
public void setSummary(java.lang.String summary)
setSummary
in interface IVideo
summary
- The films summarypublic java.util.Collection<IVideoFile> getFiles()
getFiles
in interface IVideo
public void setFiles(java.util.Collection<IVideoFile> videoFiles)
setFiles
in interface IVideo
videoFiles
- The list of filespublic Rating getRating()
getRating
in interface IVideoRating
public void setRating(Rating rating)
setRating
in interface IVideoRating
rating
- The rating
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |