com.sun.syndication.feed.rss
クラス Image

java.lang.Object
  上位を拡張 com.sun.syndication.feed.rss.Image
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable

public class Image
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Bean for images of RSS feeds.

関連項目:
直列化された形式

コンストラクタの概要
Image()
          Default constructor.
 
メソッドの概要
 java.lang.Object clone()
          Creates a deep 'bean' clone of the object.
 boolean equals(java.lang.Object other)
          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
 java.lang.String getDescription()
          Returns the image description.
 int getHeight()
          Returns the image height.
 java.lang.String getLink()
          Returns the image link.
 java.lang.String getTitle()
          Returns the image title.
 java.lang.String getUrl()
          Returns the image URL.
 int getWidth()
          Returns the image width.
 int hashCode()
          Returns a hashcode value for the object.
 void setDescription(java.lang.String description)
          Sets the image description.
 void setHeight(int height)
          Sets the image height.
 void setLink(java.lang.String link)
          Sets the image link.
 void setTitle(java.lang.String title)
          Sets the image title.
 void setUrl(java.lang.String url)
          Sets the image URL.
 void setWidth(int width)
          Sets the image width.
 java.lang.String toString()
          Returns the String representation for the object.
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Image

public Image()
Default constructor. All properties are set to null.

メソッドの詳細

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
a clone of the object.
例外:
java.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
other - he reference object with which to compare.
戻り値:
true if 'this' object is equal to the 'other' object.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

オーバーライド:
クラス java.lang.Object 内の hashCode
戻り値:
the hashcode of the bean object.

toString

public java.lang.String toString()
Returns the String representation for the object.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
String representation for the object.

getTitle

public java.lang.String getTitle()
Returns the image title.

戻り値:
the image title, null if none.

setTitle

public void setTitle(java.lang.String title)
Sets the image title.

パラメータ:
title - the image title to set, null if none.

getUrl

public java.lang.String getUrl()
Returns the image URL.

戻り値:
the image URL, null if none.

setUrl

public void setUrl(java.lang.String url)
Sets the image URL.

パラメータ:
url - the image URL to set, null if none.

getLink

public java.lang.String getLink()
Returns the image link.

戻り値:
the image link, null if none.

setLink

public void setLink(java.lang.String link)
Sets the image link.

パラメータ:
link - the image link to set, null if none.

getWidth

public int getWidth()
Returns the image width.

戻り値:
the image width, null if none.

setWidth

public void setWidth(int width)
Sets the image width.

パラメータ:
width - the image width to set, null if none.

getHeight

public int getHeight()
Returns the image height.

戻り値:
the image height, null if none.

setHeight

public void setHeight(int height)
Sets the image height.

パラメータ:
height - the image height to set, null if none.

getDescription

public java.lang.String getDescription()
Returns the image description.

戻り値:
the image description, null if none.

setDescription

public void setDescription(java.lang.String description)
Sets the image description.

パラメータ:
description - the image description to set, null if none.