com.sun.syndication.feed.synd
Class SyndCategoryImpl

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.sun.syndication.feed.synd.SyndCategoryImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, SyndCategory, ToString

public class SyndCategoryImpl
extends ObjectBean
implements SyndCategory

Bean for categories of SyndFeedImpl feeds and entries.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
  SyndCategoryImpl()
          Default constructor.
protected SyndCategoryImpl(java.lang.Class beanClass, DCSubject subject)
          For implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces.
 
Method Summary
 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 class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.feed.synd.SyndCategory
clone
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 

Constructor Detail

SyndCategoryImpl

protected SyndCategoryImpl(java.lang.Class beanClass,
                           DCSubject subject)
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces.

Parameters:
beanClass -
subject - the DC subject to wrap.

SyndCategoryImpl

public SyndCategoryImpl()
Default constructor. All properties are set to null.

Method Detail

getName

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

Specified by:
getName in interface SyndCategory
Returns:
the category name, null if none.

setName

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

Specified by:
setName in interface SyndCategory
Parameters:
name - the category name to set, null if none.

getTaxonomyUri

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

Specified by:
getTaxonomyUri in interface SyndCategory
Returns:
the category taxonomy URI, null if none.

setTaxonomyUri

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

Specified by:
setTaxonomyUri in interface SyndCategory
Parameters:
taxonomyUri - the category taxonomy URI to set, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.