com.yahoo.search
Interface ImageSearchResult

All Known Implementing Classes:
XmlParserImageSearchResults.XmlParserImageSearchResult

public interface ImageSearchResult

Individual image search result.

Author:
Ryan Kennedy

Method Summary
 String getClickUrl()
          The URL for linking to the image file.
 String getCopyright()
          The copyright owner.
 String getFileFormat()
          One of bmp, gif, jpg, or png.
 BigInteger getFileSize()
          The size of the file in bytes.
 BigInteger getHeight()
          The height of the image in pixels.
 String getPublisher()
          The creator of the image file.
 String getRefererUrl()
          The URL of the web page hosting the content.
 String getRestrictions()
          Provides any restrictions for this media object.
 String getSummary()
          Summary text associated with the image file.
 ImageThumbnail getThumbnail()
          The URL of the thumbnail file and its height and width in pixels.
 String getTitle()
          The title of the image file.
 String getUrl()
          The URL for the image file.
 BigInteger getWidth()
          The width of the image in pixels.
 

Method Detail

getTitle

String getTitle()
The title of the image file.

Returns:
The title of the image file.

getSummary

String getSummary()
Summary text associated with the image file.

Returns:
Summary text associated with the image file.

getUrl

String getUrl()
The URL for the image file.

Returns:
The URL for the image file.

getClickUrl

String getClickUrl()
The URL for linking to the image file. See URL linking for more information.

Returns:
The URL for linking to the image file.

getRefererUrl

String getRefererUrl()
The URL of the web page hosting the content.

Returns:
The URL of the web page hosting the content.

getFileSize

BigInteger getFileSize()
The size of the file in bytes.

Returns:
The size of the file in bytes.

getFileFormat

String getFileFormat()
One of bmp, gif, jpg, or png.

NOTE: The value returned is not guaranteed to be one of the above options. The XML schema for image search specifies that FileFormat is of type xs:string. It is possible you may receive something other than the previously mentioned formats.

Returns:
One of bmp, gif, jpg, or png.

getHeight

BigInteger getHeight()
The height of the image in pixels. This field is optional.

Returns:
The height of the image in pixels.

getWidth

BigInteger getWidth()
The width of the image in pixels. This field is optional.

Returns:
The width of the image in pixels.

getThumbnail

ImageThumbnail getThumbnail()
The URL of the thumbnail file and its height and width in pixels.

Returns:
The URL of the thumbnail file and its height and width in pixels.

getPublisher

String getPublisher()
The creator of the image file. This field is optional.

Returns:
The creator of the image file.

getRestrictions

String getRestrictions()
Provides any restrictions for this media object. Restrictions include noframe and noinline. This field is optional.

NOTE: The value returned is not guaranteed to be one of the above options. The XML schema for image search specifies that Restrictions is of type xs:string. It is possible you may receive something other than the previously mentioned numbers.

Returns:
Provides any restrictions for this media object. Restrictions include noframe and noinline.

getCopyright

String getCopyright()
The copyright owner. This field is optional.

Returns:
The copyright owner.