com.sun.syndication.feed.synd
インタフェース SyndLink

既知の実装クラスの一覧:
SyndLinkImpl

public interface SyndLink

Represents a link or enclosure associated with entry.


メソッドの概要
 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
 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 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.
 

メソッドの詳細

clone

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

戻り値:
a clone of the object.
例外:
java.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.

equals

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

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

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

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

getRel

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

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

setRel

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

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

getType

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

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

setType

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

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

getHref

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

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

setHref

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

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

getTitle

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

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

setTitle

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

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

getHreflang

java.lang.String getHreflang()
Returns the hreflang

戻り値:
Returns the hreflang.

setHreflang

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

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

getLength

long getLength()
Returns the length

戻り値:
Returns the length.

setLength

void setLength(long length)
Set the length

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