|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.atom.Content
Bean for content elements of Atom feeds.
Nested Class Summary | |
static class |
Content.Mode
Enumeration type for the 'mode' property of Atom content elements. |
Field Summary | |
static Content.Mode |
BASE64
|
static Content.Mode |
ESCAPED
|
static Content.Mode |
XML
|
Constructor Summary | |
Content()
Default constructor. |
Method Summary | |
Content.Mode |
getMode()
Returns the content mode. |
java.lang.String |
getType()
Returns the content type. |
java.lang.String |
getValue()
Returns the content value. |
void |
setMode(Content.Mode mode)
Sets the content mode. |
void |
setType(java.lang.String type)
Sets the content type. |
void |
setValue(java.lang.String value)
Sets the content value. |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Content.Mode XML
public static final Content.Mode BASE64
public static final Content.Mode ESCAPED
Constructor Detail |
public Content()
Method Detail |
public java.lang.String getType()
public void setType(java.lang.String type)
type
- the content type, null if none.public Content.Mode getMode()
The mode indicates how the value was/will-be encoded in the XML feed.
public void setMode(Content.Mode mode)
The mode indicates how the value was/will-be encoded in the XML feed.
mode
- the content mode, null if none.public java.lang.String getValue()
The return value should be decoded.
public void setValue(java.lang.String value)
The value being set should be decoded.
value
- the content value, null if none.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |