|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.synd.SyndLinkImpl
public class SyndLinkImpl
Represents a link or an enclosure.
| Constructor Summary | |
|---|---|
SyndLinkImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyndLinkImpl()
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface SyndLinkclone in class java.lang.Objectjava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals in interface SyndLinkequals in class java.lang.Objectother - he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode in interface SyndLinkhashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface SyndLinktoString in class java.lang.Objectpublic java.lang.String getRel()
getRel in interface SyndLinkpublic void setRel(java.lang.String rel)
setRel in interface SyndLinkrel - the link rel,, null if none.public java.lang.String getType()
getType in interface SyndLinkpublic void setType(java.lang.String type)
setType in interface SyndLinktype - the link type, null if none.public java.lang.String getHref()
getHref in interface SyndLinkpublic void setHref(java.lang.String href)
setHref in interface SyndLinkhref - the link href, null if none.public java.lang.String getTitle()
getTitle in interface SyndLinkpublic void setTitle(java.lang.String title)
setTitle in interface SyndLinktitle - the link title, null if none.public java.lang.String getHreflang()
getHreflang in interface SyndLinkpublic void setHreflang(java.lang.String hreflang)
setHreflang in interface SyndLinkhreflang - The hreflang to set.public long getLength()
getLength in interface SyndLinkpublic void setLength(long length)
setLength in interface SyndLinklength - The length to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||