|
||||||||||
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 | |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
String |
getHref()
Returns the link href. |
String |
getHreflang()
Returns the hreflang |
long |
getLength()
Returns the length |
String |
getRel()
Returns the link rel. |
String |
getTitle()
Returns the link title. |
String |
getType()
Returns the link type. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setHref(String href)
Sets the link href. |
void |
setHreflang(String hreflang)
Set the hreflang |
void |
setLength(long length)
Set the length |
void |
setRel(String rel)
Sets the link rel. |
void |
setTitle(String title)
Sets the link title. |
void |
setType(String type)
Sets the link type. |
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 Object clone() throws CloneNotSupportedException
clone
in interface SyndLink
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
equals
in interface SyndLink
equals
in class Object
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in interface SyndLink
hashCode
in class Object
public String toString()
toString
in interface SyndLink
toString
in class Object
public String getRel()
getRel
in interface SyndLink
public void setRel(String rel)
setRel
in interface SyndLink
rel
- the link rel,, null if none.public String getType()
getType
in interface SyndLink
public void setType(String type)
setType
in interface SyndLink
type
- the link type, null if none.public String getHref()
getHref
in interface SyndLink
public void setHref(String href)
setHref
in interface SyndLink
href
- the link href, null if none.public String getTitle()
getTitle
in interface SyndLink
public void setTitle(String title)
setTitle
in interface SyndLink
title
- the link title, null if none.public String getHreflang()
getHreflang
in interface SyndLink
public void setHreflang(String hreflang)
setHreflang
in interface SyndLink
hreflang
- The hreflang to set.public long getLength()
getLength
in interface SyndLink
public void setLength(long length)
setLength
in interface SyndLink
length
- The length to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |