Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.atom
Class Link  view Link download Link.java

java.lang.Object
  extended bycom.sun.syndication.feed.atom.Link
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Link
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Bean for link elements of Atom feeds.


Field Summary
private  java.lang.String _href
           
private  java.lang.String _hreflang
           
private  long _length
           
private  com.sun.syndication.feed.impl.ObjectBean _objBean
           
private  java.lang.String _rel
           
private  java.lang.String _title
           
private  java.lang.String _type
           
 
Constructor Summary
Link()
          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
 

Field Detail

_objBean

private com.sun.syndication.feed.impl.ObjectBean _objBean

_href

private java.lang.String _href

_rel

private java.lang.String _rel

_type

private java.lang.String _type

_hreflang

private java.lang.String _hreflang

_title

private java.lang.String _title

_length

private long _length
Constructor Detail

Link

public Link()
Default constructor. All properties are set to null.

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.


equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.


hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.


toString

public java.lang.String toString()
Returns the String representation for the object.


getRel

public java.lang.String getRel()
Returns the link rel.


setRel

public void setRel(java.lang.String rel)
Sets the link rel.


getType

public java.lang.String getType()
Returns the link type.


setType

public void setType(java.lang.String type)
Sets the link type.


getHref

public java.lang.String getHref()
Returns the link href.


setHref

public void setHref(java.lang.String href)
Sets the link href.


getTitle

public java.lang.String getTitle()
Returns the link title.


setTitle

public void setTitle(java.lang.String title)
Sets the link title.


getHreflang

public java.lang.String getHreflang()
Returns the hreflang

Since:
Atom 1.0

setHreflang

public void setHreflang(java.lang.String hreflang)
Set the hreflang

Since:
Atom 1.0

getLength

public long getLength()
Returns the length


setLength

public void setLength(long length)
Set the length