com.sun.syndication.feed.atom
public class Link extends Object implements Cloneable, Serializable
| Field Summary | |
|---|---|
| String | _href |
| String | _hreflang |
| long | _length |
| ObjectBean | _objBean |
| String | _rel |
| String | _title |
| String | _type |
| Constructor Summary | |
|---|---|
| Link()
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.
|
Returns: a clone of the object.
Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.
Parameters: other he reference object with which to compare.
Returns: true if 'this' object is equal to the 'other' object.
Returns: the link href, null if none.
Returns: Returns the hreflang.
Since: Atom 1.0
Returns: Returns the length.
Returns: the link rel, null if none.
Returns: the link title, null if none.
Returns: the link type, null if none.
It follows the contract defined by the Object hashCode() method.
Returns: the hashcode of the bean object.
Parameters: href the link href, null if none.
Parameters: hreflang The hreflang to set.
Since: Atom 1.0
Parameters: length The length to set.
Parameters: rel the link rel,, null if none.
Parameters: title the link title, null if none.
Parameters: type the link type, null if none.
Returns: String representation for the object.