|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ atom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.syndication.feed.atom
Class Content

java.lang.Objectcom.sun.syndication.feed.atom.Content
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class Content
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- extends java.lang.Object
Bean for content elements of Atom feeds.
| Field Summary | |
private java.lang.String |
_mode
|
private com.sun.syndication.feed.impl.ObjectBean |
_objBean
|
private java.lang.String |
_src
|
private java.lang.String |
_type
|
private java.lang.String |
_value
|
static java.lang.String |
BASE64
Atom 0.3 only |
static java.lang.String |
ESCAPED
Atom 0.3 only |
static java.lang.String |
HTML
|
private static java.util.Set |
MODES
|
static java.lang.String |
TEXT
|
static java.lang.String |
XHTML
|
static java.lang.String |
XML
Atom 0.3 only |
| Constructor Summary | |
Content()
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 |
getMode()
Returns the content mode (Atom 0.3 only). |
java.lang.String |
getSrc()
Returns the src |
java.lang.String |
getType()
Returns the content type. |
java.lang.String |
getValue()
Returns the content value. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setMode(java.lang.String mode)
Sets the content mode (Atom 0.3 only). |
void |
setSrc(java.lang.String src)
Set the src |
void |
setType(java.lang.String type)
Sets the content type. |
void |
setValue(java.lang.String value)
Sets the content value. |
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
_value
private java.lang.String _value
_src
private java.lang.String _src
_type
private java.lang.String _type
TEXT
public static final java.lang.String TEXT
- Since:
- Atom 1.0
- See Also:
- Constant Field Values
HTML
public static final java.lang.String HTML
- Since:
- Atom 1.0
- See Also:
- Constant Field Values
XHTML
public static final java.lang.String XHTML
- Since:
- Atom 1.0
- See Also:
- Constant Field Values
XML
public static final java.lang.String XML
- Atom 0.3 only
- See Also:
- Constant Field Values
BASE64
public static final java.lang.String BASE64
- Atom 0.3 only
- See Also:
- Constant Field Values
ESCAPED
public static final java.lang.String ESCAPED
- Atom 0.3 only
- See Also:
- Constant Field Values
_mode
private java.lang.String _mode
MODES
private static final java.util.Set MODES
| Constructor Detail |
Content
public Content()
- 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.
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.
hashCode
public int hashCode()
- Returns a hashcode value for the object.
It follows the contract defined by the Object hashCode() method.
toString
public java.lang.String toString()
- Returns the String representation for the object.
getType
public java.lang.String getType()
- Returns the content type.
- Since:
- Atom 1.0
setType
public void setType(java.lang.String type)
- Sets the content type.
- Since:
- Atom 1.0
getMode
public java.lang.String getMode()
- Returns the content mode (Atom 0.3 only).
The mode indicates how the value was/will-be encoded in the XML feed.
setMode
public void setMode(java.lang.String mode)
- Sets the content mode (Atom 0.3 only).
The mode indicates how the value was/will-be encoded in the XML feed.
getValue
public java.lang.String getValue()
- Returns the content value.
The return value should be decoded.
setValue
public void setValue(java.lang.String value)
- Sets the content value.
The value being set should be decoded.
getSrc
public java.lang.String getSrc()
- Returns the src
- Since:
- Atom 1.0
setSrc
public void setSrc(java.lang.String src)
- Set the src
- Since:
- Atom 1.0
|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ atom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.sun.syndication.feed.atom.Content