com.sun.syndication.feed.synd
public interface SyndContent extends Cloneable, CopyFrom
Method Summary | |
---|---|
Object | clone()
Creates a deep clone of the object.
|
String | getMode()
Sets the content mode (needed for Atom 0.3 support). |
String | getType()
Returns the content type.
|
String | getValue()
Returns the content value.
|
void | setMode(String mode)
Sets the content mode (needed for Atom 0.3 support). |
void | setType(String type)
Sets the content type.
|
void | setValue(String value)
Sets the content value.
|
Returns: a clone of the object.
Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.
Parameters: type the content type to set, null if none.
When used for the description of an entry, if null 'text/plain' must be assumed.
Returns: the content type, null if none.
Returns: the content value, null if none.
Parameters: type the content type to set, null if none.
When used for the description of an entry, if null 'text/plain' must be assumed.
Parameters: type the content type to set, null if none.
Parameters: value the content value to set, null if none.