com.blackledge.david.tivo.hmoclient
Class ImageItem

java.lang.Object
  extended by com.blackledge.david.tivo.hmoclient.Item
      extended by com.blackledge.david.tivo.hmoclient.ImageItem

public class ImageItem
extends Item

<CaptureDate>{date}</CaptureDate> <SourceWidth>{pixels}</SourceWidth> <SourceHeight>{pixels}</SourceHeight> <SourceColors>{count}</SourceColors> <SourceResolution>{dpi}<SourceResolution> <Caption>{text}</Caption> <Keywords>{comma-delimited-text}</Keywords>

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class com.blackledge.david.tivo.hmoclient.Item
contentLink, request
 
Constructor Summary
ImageItem(ContainerRequest request)
           
ImageItem(ContainerRequest request, Element node)
           
 
Method Summary
 String getCaption()
           
 Date getCaptured()
           
 String getCaptureDate()
           
 String getKeywords()
           
 int getSourceColors()
           
 int getSourceHeight()
           
 String getSourceResolution()
           
 int getSourceWidth()
           
protected  void initDetails(Element description)
          Basic Item details: <Title>{text}</Title> <ContentType>{mime-type}</ContentType> <SourceFormat>{mime-type}</SourceFormat> Optional details: <CreationDate>{date}</CreationDate> <LastChangeDate>{date}</LastChangeDate> <LastAccessDate>{date}</LastAccessDate> <SourceLocation>{text}</SourceLocation> <SourceSize>{bytes}</SourceSize> <Copyright>{text}</Copyright>
 
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, isContainer, newContainerRequest, newContainerRequest, singleNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageItem

public ImageItem(ContainerRequest request,
                 Element node)

ImageItem

public ImageItem(ContainerRequest request)
Method Detail

initDetails

protected void initDetails(Element description)
Description copied from class: Item
Basic Item details: <Title>{text}</Title> <ContentType>{mime-type}</ContentType> <SourceFormat>{mime-type}</SourceFormat> Optional details: <CreationDate>{date}</CreationDate> <LastChangeDate>{date}</LastChangeDate> <LastAccessDate>{date}</LastAccessDate> <SourceLocation>{text}</SourceLocation> <SourceSize>{bytes}</SourceSize> <Copyright>{text}</Copyright>

Overrides:
initDetails in class Item

getCaptureDate

public String getCaptureDate()

getCaptured

public Date getCaptured()

getCaption

public String getCaption()

getKeywords

public String getKeywords()

getSourceResolution

public String getSourceResolution()

getSourceColors

public int getSourceColors()

getSourceHeight

public int getSourceHeight()

getSourceWidth

public int getSourceWidth()