|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.blackledge.david.tivo.hmoclient.Item
com.blackledge.david.tivo.hmoclient.ContainerItem
com.blackledge.david.tivo.hmoclient.Container
public class Container
an HMO Container representation which contains meta information and a list of items that may be Containers or Audio or Video or Image information.
| Field Summary |
|---|
| Fields inherited from class com.blackledge.david.tivo.hmoclient.Item |
|---|
contentLink, request |
| Constructor Summary | |
|---|---|
Container(ContainerRequest request,
URL queryUrl)
|
|
| Method Summary | |
|---|---|
long |
getFirstItemIndex()
"This element indicates the position within the entire container (as a zero-based index) of the actual item represented by the first TiVoContainer.Item appearing within the meta-data." |
List |
getItems()
Get the list of Items in this container. |
long |
getLastItemIndex()
|
Throwable |
getLoadError()
If this is not null, there was a problem loading the containerRequest and this container is not initialized. |
long |
getSize()
"This element indicates the number of items described in the meta-data." |
long |
getTotalDuration()
"TotalDuration provides the combined durations of all audio items in the container. |
protected void |
initDetails(Element description)
for a queried container: |
boolean |
isSourceChanged()
"This element indicates whether any aspect of the container has changed since the last query." |
Container |
nextPage()
|
Container |
requestItems(long startOffset,
long numItems)
|
Container |
requestItems(long startOffset,
long numItems,
Item startItem)
|
| Methods inherited from class com.blackledge.david.tivo.hmoclient.ContainerItem |
|---|
getTotalItems, getTotalSize, isContainer |
| Methods inherited from class com.blackledge.david.tivo.hmoclient.Item |
|---|
getAllDetails, getChildElementsByTagName, getChildTagMap, getContentType, getContentURL, getCopyright, getCreated, getCreationDate, getCustomIcon, getDate, getLastAccessDate, getLastAccessed, getLastChanged, getLastChangeDate, getLinks, getLong, getNodeValue, getSingleChildElementByTagName, getSourceFormat, getSourceLocation, getSourceSize, getTitle, newContainerRequest, newContainerRequest, singleNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Container(ContainerRequest request,
URL queryUrl)
| Method Detail |
|---|
public Throwable getLoadError()
protected void initDetails(Element description)
initDetails in class ContainerItemelementsByTagName -
public Container requestItems(long startOffset,
long numItems)
public Container requestItems(long startOffset,
long numItems,
Item startItem)
public Container nextPage()
public long getLastItemIndex()
public long getFirstItemIndex()
public List getItems()
Items in this container.
Item instancespublic long getSize()
public long getTotalDuration()
getTotalDuration in class ContainerItempublic boolean isSourceChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||