Package com.rometools.rome.feed.synd
Interface SyndContent
-
- All Known Implementing Classes:
SyndContentImpl
public interface SyndContent extends Cloneable, CopyFrom
Bean interface for content of SyndFeedImpl entries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Creates a deep clone of the object.StringgetMode()Gets the content mode (needed for Atom 0.3 support).StringgetType()Returns the content type.StringgetValue()Returns the content value.voidsetMode(String mode)Sets the content mode (needed for Atom 0.3 support).voidsetType(String type)Sets the content type.voidsetValue(String value)Sets the content value.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getType
String getType()
Returns the content type.When used for the description of an entry, if null 'text/plain' must be assumed.
- Returns:
- the content type, null if none.
-
setType
void setType(String type)
Sets the content type.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.
-
getMode
String getMode()
Gets the content mode (needed for Atom 0.3 support).- Returns:
- type the content, null if none.
-
setMode
void setMode(String mode)
Sets the content mode (needed for Atom 0.3 support).- Parameters:
mode- the content mode to set, null if none.
-
getValue
String getValue()
Returns the content value.- Returns:
- the content value, null if none.
-
setValue
void setValue(String value)
Sets the content value.- Parameters:
value- the content value to set, null if none.
-
clone
Object clone() throws CloneNotSupportedException
Creates a deep clone of the object.- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
-