|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.rss.Content
public class Content
Bean for item descriptions of RSS feeds.
Field Summary | |
---|---|
static String |
HTML
|
static String |
TEXT
|
Constructor Summary | |
---|---|
Content()
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 |
getType()
Returns the description type. |
String |
getValue()
Returns the description value. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setType(String type)
Sets the description type. |
void |
setValue(String value)
Sets the description value. |
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 |
---|
public static final String HTML
public static final String TEXT
Constructor Detail |
---|
public Content()
Method Detail |
---|
public void setType(String type)
type
- the description type to set, null if none.public String getType()
public void setValue(String value)
value
- the description value to set, null if none.public String getValue()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
equals
in class Object
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |