Top Description Methods
com.rometools.rome.feed.synd

public Interface SyndContent

extends Cloneable, CopyFrom
Known Direct Implementers
com.rometools.rome.feed.synd.SyndContentImpl
Imports
com.rometools.rome.feed.CopyFrom

Bean interface for content of SyndFeedImpl entries.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a clone of the object.
clone
()

Creates a deep clone of the object.

public String

Returns:

type the content, null if none.
getMode
()

Gets the content mode (needed for Atom 0.3 support).

public String

Returns:

the content type, null if none.
getType
()

Returns the content type.

public String

Returns:

the content value, null if none.
getValue
()

Returns the content value.

public void
setMode(String
the content mode to set, null if none.
mode
)

Sets the content mode (needed for Atom 0.3 support).

public void
setType(String
the content type to set, null if none.
type
)

Sets the content type.

public void
setValue(String
the content value to set, null if none.
value
)

Sets the content value.

Inherited from com.rometools.rome.feed.CopyFrom:
copyFromgetInterface

Method Detail

cloneback to summary
public Object clone() throws CloneNotSupportedException

Creates a deep clone of the object.

Returns:Object

a clone of the object.

Exceptions
CloneNotSupportedException:
thrown if an element of the object cannot be cloned.
getModeback to summary
public String getMode()

Gets the content mode (needed for Atom 0.3 support).

Returns:String

type the content, null if none.

getTypeback to summary
public String getType()

Returns the content type.

When used for the description of an entry, if null 'text/plain' must be assumed.

Returns:String

the content type, null if none.

getValueback to summary
public String getValue()

Returns the content value.

Returns:String

the content value, null if none.

setModeback to summary
public void setMode(String mode)

Sets the content mode (needed for Atom 0.3 support).

Parameters
mode:String

the content mode to set, null if none.

setTypeback to summary
public 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:String

the content type to set, null if none.

setValueback to summary
public void setValue(String value)

Sets the content value.

Parameters
value:String

the content value to set, null if none.