com.sun.syndication.feed.synd
Interface SyndContentI

All Superinterfaces:
java.lang.Cloneable, ToString
All Known Implementing Classes:
SyndContent

public interface SyndContentI
extends ToString, java.lang.Cloneable

Bean interface for content of SyndFeed entries.

Author:
Alejandro Abdelnur

Method Summary
 java.lang.Object clone()
          Creates a deep clone of the object.
 java.lang.String getType()
          Returns the content type.
 java.lang.String getValue()
          Returns the content value.
 void setType(java.lang.String type)
          Sets the content type.
 void setValue(java.lang.String value)
          Sets the content value.
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 

Method Detail

getType

public java.lang.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

public void setType(java.lang.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.

getValue

public java.lang.String getValue()
Returns the content value.

Returns:
the content value, null if none.

setValue

public void setValue(java.lang.String value)
Sets the content value.

Parameters:
value - the content value to set, null if none.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep clone of the object.

Returns:
a clone of the object.
Throws:
java.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.


Copyright © 2004 Sun Microsystems. All Rights Reserved.