com.sun.syndication.feed.atom
クラス Link

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

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

Bean for link elements of Atom feeds.

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

コンストラクタの概要
Link()
          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 getHref()
          Returns the link href.
 java.lang.String getHreflang()
          Returns the hreflang
 java.lang.String getHrefResolved()
           
 long getLength()
          Returns the length
 java.lang.String getRel()
          Returns the link rel.
 java.lang.String getTitle()
          Returns the link title.
 java.lang.String getType()
          Returns the link type.
 int hashCode()
          Returns a hashcode value for the object.
 void setHref(java.lang.String href)
          Sets the link href.
 void setHreflang(java.lang.String hreflang)
          Set the hreflang
 void setHrefResolved(java.lang.String hrefResolved)
           
 void setLength(long length)
          Set the length
 void setRel(java.lang.String rel)
          Sets the link rel.
 void setTitle(java.lang.String title)
          Sets the link title.
 void setType(java.lang.String type)
          Sets the link type.
 java.lang.String toString()
          Returns the String representation for the object.
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Link

public Link()
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.

getRel

public java.lang.String getRel()
Returns the link rel.

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

setRel

public void setRel(java.lang.String rel)
Sets the link rel.

パラメータ:
rel - the link rel,, null if none.

getType

public java.lang.String getType()
Returns the link type.

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

setType

public void setType(java.lang.String type)
Sets the link type.

パラメータ:
type - the link type, null if none.

getHref

public java.lang.String getHref()
Returns the link href.

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

setHref

public void setHref(java.lang.String href)
Sets the link href.

パラメータ:
href - the link href, null if none.

setHrefResolved

public void setHrefResolved(java.lang.String hrefResolved)

getHrefResolved

public java.lang.String getHrefResolved()

getTitle

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

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

setTitle

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

パラメータ:
title - the link title, null if none.

getHreflang

public java.lang.String getHreflang()
Returns the hreflang

戻り値:
Returns the hreflang.
導入されたバージョン:
Atom 1.0

setHreflang

public void setHreflang(java.lang.String hreflang)
Set the hreflang

パラメータ:
hreflang - The hreflang to set.
導入されたバージョン:
Atom 1.0

getLength

public long getLength()
Returns the length

戻り値:
Returns the length.

setLength

public void setLength(long length)
Set the length

パラメータ:
length - The length to set.