Top Description Methods
com.rometools.rome.feed.synd

public Interface SyndLink

Known Direct Implementers
com.rometools.rome.feed.synd.SyndLinkImpl

Represents a link or enclosure associated with entry.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a clone of the object.
clone
()

Creates a deep 'bean' clone of the object.

public boolean

Returns:

true if 'this' object is equal to the 'other' object.
equals
(Object
he reference object with which to compare.
other
)

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

public String

Returns:

the link href, null if none.
getHref
()

Returns the link href.

public String

Returns:

Returns the hreflang.
getHreflang
()

Returns the hreflang

public long

Returns:

Returns the length.
getLength
()

Returns the length

public String

Returns:

the link rel, null if none.
getRel
()

Returns the link rel.

public String

Returns:

the link title, null if none.
getTitle
()

Returns the link title.

public String

Returns:

the link type, null if none.
getType
()

Returns the link type.

public int

Returns:

the hashcode of the bean object.
hashCode
()

Returns a hashcode value for the object.

public void
setHref(String
the link href, null if none.
href
)

Sets the link href.

public void
setHreflang(String
The hreflang to set.
hreflang
)

Set the hreflang

public void
setLength(long
The length to set.
length
)

Set the length

public void
setRel(String
the link rel,, null if none.
rel
)

Sets the link rel.

public void
setTitle(String
the link title, null if none.
title
)

Sets the link title.

public void
setType(String
the link type, null if none.
type
)

Sets the link type.

public String

Returns:

String representation for the object.
toString
()

Returns the String representation for the object.

Method Detail

cloneback to summary
public Object clone() throws CloneNotSupportedException

Creates a deep 'bean' clone of the object.

Returns:Object

a clone of the object.

Exceptions
CloneNotSupportedException:
thrown if an element of the object cannot be cloned.
equalsback to summary
public boolean equals(Object other)

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

Parameters
other:Object

he reference object with which to compare.

Returns:boolean

true if 'this' object is equal to the 'other' object.

Annotations
@Override
getHrefback to summary
public String getHref()

Returns the link href.

Returns:String

the link href, null if none.

getHreflangback to summary
public String getHreflang()

Returns the hreflang

Returns:String

Returns the hreflang.

getLengthback to summary
public long getLength()

Returns the length

Returns:long

Returns the length.

getRelback to summary
public String getRel()

Returns the link rel.

Returns:String

the link rel, null if none.

getTitleback to summary
public String getTitle()

Returns the link title.

Returns:String

the link title, null if none.

getTypeback to summary
public String getType()

Returns the link type.

Returns:String

the link type, null if none.

hashCodeback to summary
public int hashCode()

Returns a hashcode value for the object.

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

Returns:int

the hashcode of the bean object.

Annotations
@Override
setHrefback to summary
public void setHref(String href)

Sets the link href.

Parameters
href:String

the link href, null if none.

setHreflangback to summary
public void setHreflang(String hreflang)

Set the hreflang

Parameters
hreflang:String

The hreflang to set.

setLengthback to summary
public void setLength(long length)

Set the length

Parameters
length:long

The length to set.

setRelback to summary
public void setRel(String rel)

Sets the link rel.

Parameters
rel:String

the link rel,, null if none.

setTitleback to summary
public void setTitle(String title)

Sets the link title.

Parameters
title:String

the link title, null if none.

setTypeback to summary
public void setType(String type)

Sets the link type.

Parameters
type:String

the link type, null if none.

toStringback to summary
public String toString()

Returns the String representation for the object.

Returns:String

String representation for the object.

Annotations
@Override