| java.lang.Object com.sun.syndication.feed.atom.Link
Link | public class Link implements Cloneable,Serializable(Code) | | Bean for link elements of Atom feeds.
author: Alejandro Abdelnur author: Dave Johnson (updated for Atom 1.0) |
Constructor Summary | |
public | Link() Default constructor. |
Link | public Link()(Code) | | Default constructor. All properties are set to null.
|
equals | public boolean equals(Object other)(Code) | | Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
Parameters: other - he reference object with which to compare. true if 'this' object is equal to the 'other' object. |
getHref | public String getHref()(Code) | | Returns the link href.
the link href, null if none. |
getHreflang | public String getHreflang()(Code) | | Returns the hreflang
Returns the hreflang. since: Atom 1.0 |
getLength | public long getLength()(Code) | | Returns the length
Returns the length. |
getRel | public String getRel()(Code) | | Returns the link rel.
the link rel, null if none. |
getTitle | public String getTitle()(Code) | | Returns the link title.
the link title, null if none. |
getType | public String getType()(Code) | | Returns the link type.
the link type, null if none. |
hashCode | public int hashCode()(Code) | | Returns a hashcode value for the object.
It follows the contract defined by the Object hashCode() method.
the hashcode of the bean object. |
setHref | public void setHref(String href)(Code) | | Sets the link href.
Parameters: href - the link href, null if none. |
setHreflang | public void setHreflang(String hreflang)(Code) | | Set the hreflang
Parameters: hreflang - The hreflang to set. since: Atom 1.0 |
setLength | public void setLength(long length)(Code) | | Set the length
Parameters: length - The length to set. |
setRel | public void setRel(String rel)(Code) | | Sets the link rel.
Parameters: rel - the link rel,, null if none. |
setTitle | public void setTitle(String title)(Code) | | Sets the link title.
Parameters: title - the link title, null if none. |
setType | public void setType(String type)(Code) | | Sets the link type.
Parameters: type - the link type, null if none. |
toString | public String toString()(Code) | | Returns the String representation for the object.
String representation for the object. |
|
|