Package com.rometools.rome.feed.rss
Class Description
- java.lang.Object
-
- com.rometools.rome.feed.rss.Description
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Description extends Object implements Cloneable, Serializable
Bean for item descriptions of RSS feeds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Description()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates a deep 'bean' clone of the object.booleanequals(Object other)Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetType()Returns the description type.StringgetValue()Returns the description value.inthashCode()Returns a hashcode value for the object.voidsetType(String type)Sets the description type.voidsetValue(String value)Sets the description value.StringtoString()Returns the String representation for the object.
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Overrides:
clonein classObject- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
public boolean equals(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 String toString()
Returns the String representation for the object.
-
getType
public String getType()
Returns the description type.- Returns:
- the description type, null if none.
-
setType
public void setType(String type)
Sets the description type.- Parameters:
type- the description type to set, null if none.
-
getValue
public String getValue()
Returns the description value.- Returns:
- the description value, null if none.
-
setValue
public void setValue(String value)
Sets the description value.- Parameters:
value- the description value to set, null if none.
-
-