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

Quick Search    Search Deep

com.sun.syndication.feed.synd
Class SyndLinkImpl  view SyndLinkImpl download SyndLinkImpl.java

java.lang.Object
  extended bycom.sun.syndication.feed.synd.SyndLinkImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, SyndLink

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

Represents a link or an enclosure.


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
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
 

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

SyndLinkImpl

public SyndLinkImpl()
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.

Specified by:
clone in interface SyndLink

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.

Specified by:
equals in interface SyndLink

hashCode

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

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

Specified by:
hashCode in interface SyndLink

toString

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

Specified by:
toString in interface SyndLink

getRel

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

Specified by:
getRel in interface SyndLink

setRel

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

Specified by:
setRel in interface SyndLink

getType

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

Specified by:
getType in interface SyndLink

setType

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

Specified by:
setType in interface SyndLink

getHref

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

Specified by:
getHref in interface SyndLink

setHref

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

Specified by:
setHref in interface SyndLink

getTitle

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

Specified by:
getTitle in interface SyndLink

setTitle

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

Specified by:
setTitle in interface SyndLink

getHreflang

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

Specified by:
getHreflang in interface SyndLink

setHreflang

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

Specified by:
setHreflang in interface SyndLink

getLength

public long getLength()
Returns the length

Specified by:
getLength in interface SyndLink

setLength

public void setLength(long length)
Set the length

Specified by:
setLength in interface SyndLink