|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.atom.Content
public class Content
Bean for content elements of Atom feeds.
Field Summary | |
---|---|
static String |
BASE64
Atom 0.3 only |
static String |
ESCAPED
Atom 0.3 only |
static String |
HTML
|
static String |
TEXT
|
static String |
XHTML
|
static String |
XML
Atom 0.3 only |
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 |
getMode()
Returns the content mode (Atom 0.3 only). |
String |
getSrc()
Returns the src |
String |
getType()
Returns the content type. |
String |
getValue()
Returns the content value. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setMode(String mode)
Sets the content mode (Atom 0.3 only). |
void |
setSrc(String src)
Set the src |
void |
setType(String type)
Sets the content type. |
void |
setValue(String value)
Sets the content 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 TEXT
public static final String HTML
public static final String XHTML
public static final String XML
public static final String BASE64
public static final String ESCAPED
Constructor Detail |
---|
public Content()
Method Detail |
---|
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
public String getType()
The type indicates how the value was/will-be encoded in the XML feed.
public void setType(String type)
The type indicates how the value was/will-be encoded in the XML feed.
public String getMode()
The mode indicates how the value was/will-be encoded in the XML feed.
public void setMode(String mode)
The mode indicates how the value was/will-be encoded in the XML feed.
mode
- the content mode, null if none.public String getValue()
The return value should be decoded.
public void setValue(String value)
The value being set should be decoded.
value
- the content value, null if none.public String getSrc()
public void setSrc(String src)
src
- The src to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |