Package com.rometools.rome.feed.synd
Interface SyndCategory
-
- All Known Implementing Classes:
SyndCategoryImpl
public interface SyndCategory extends Cloneable, CopyFrom
Bean interface for categories of SyndFeedImpl feeds and entries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Creates a deep clone of the object.StringgetName()Returns the category name.StringgetTaxonomyUri()Returns the category taxonomy URI.voidsetName(String name)Sets the category name.voidsetTaxonomyUri(String taxonomyUri)Sets the category taxonomy URI.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getName
String getName()
Returns the category name.- Returns:
- the category name, null if none.
-
setName
void setName(String name)
Sets the category name.- Parameters:
name- the category name to set, null if none.
-
getTaxonomyUri
String getTaxonomyUri()
Returns the category taxonomy URI.- Returns:
- the category taxonomy URI, null if none.
-
setTaxonomyUri
void setTaxonomyUri(String taxonomyUri)
Sets the category taxonomy URI.- Parameters:
taxonomyUri- the category taxonomy URI 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.
-
-