Package com.rometools.rome.feed.synd
Interface SyndLink
-
- All Known Implementing Classes:
SyndLinkImpl
public interface SyndLinkRepresents a link or enclosure associated with entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Creates a deep 'bean' clone of the object.booleanequals(Object other)Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetHref()Returns the link href.StringgetHreflang()Returns the hreflanglonggetLength()Returns the lengthStringgetRel()Returns the link rel.StringgetTitle()Returns the link title.StringgetType()Returns the link type.inthashCode()Returns a hashcode value for the object.voidsetHref(String href)Sets the link href.voidsetHreflang(String hreflang)Set the hreflangvoidsetLength(long length)Set the lengthvoidsetRel(String rel)Sets the link rel.voidsetTitle(String title)Sets the link title.voidsetType(String type)Sets the link type.StringtoString()Returns the String representation for the object.
-
-
-
Method Detail
-
clone
Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
-
hashCode
int hashCode()
Returns a hashcode value for the object.It follows the contract defined by the Object hashCode() method.
-
toString
String toString()
Returns the String representation for the object.
-
getRel
String getRel()
Returns the link rel.- Returns:
- the link rel, null if none.
-
setRel
void setRel(String rel)
Sets the link rel.- Parameters:
rel- the link rel,, null if none.
-
getType
String getType()
Returns the link type.- Returns:
- the link type, null if none.
-
setType
void setType(String type)
Sets the link type.- Parameters:
type- the link type, null if none.
-
getHref
String getHref()
Returns the link href.- Returns:
- the link href, null if none.
-
setHref
void setHref(String href)
Sets the link href.- Parameters:
href- the link href, null if none.
-
getTitle
String getTitle()
Returns the link title.- Returns:
- the link title, null if none.
-
setTitle
void setTitle(String title)
Sets the link title.- Parameters:
title- the link title, null if none.
-
getHreflang
String getHreflang()
Returns the hreflang- Returns:
- Returns the hreflang.
-
setHreflang
void setHreflang(String hreflang)
Set the hreflang- Parameters:
hreflang- The hreflang to set.
-
getLength
long getLength()
Returns the length- Returns:
- Returns the length.
-
setLength
void setLength(long length)
Set the length- Parameters:
length- The length to set.
-
-