com.sun.syndication.feed.synd
Interface SyndCategoryI

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

public interface SyndCategoryI
extends ToString, java.lang.Cloneable

Bean interface for categories of SyndFeed feeds and entries.

Author:
Alejandro Abdelnur

Method Summary
 java.lang.Object clone()
          Creates a deep clone of the object.
 java.lang.String getName()
          Returns the category name.
 java.lang.String getTaxonomyUri()
          Returns the category taxonomy URI.
 void setName(java.lang.String name)
          Sets the category name.
 void setTaxonomyUri(java.lang.String taxonomyUri)
          Sets the category taxonomy URI.
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 

Method Detail

getName

public java.lang.String getName()
Returns the category name.

Returns:
the category name, null if none.

setName

public void setName(java.lang.String name)
Sets the category name.

Parameters:
name - the category name to set, null if none.

getTaxonomyUri

public java.lang.String getTaxonomyUri()
Returns the category taxonomy URI.

Returns:
the category taxonomy URI, null if none.

setTaxonomyUri

public void setTaxonomyUri(java.lang.String taxonomyUri)
Sets the category taxonomy URI.

Parameters:
taxonomyUri - the category taxonomy URI 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.