com.sun.syndication.feed.synd
public class SyndCategoryImpl extends java.lang.Object implements java.io.Serializable, SyndCategory
Constructor and Description |
---|
SyndCategoryImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
|
java.lang.String |
getName()
Returns the category name.
|
java.lang.String |
getTaxonomyUri()
Returns the category taxonomy URI.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setName(java.lang.String name)
Sets the category name.
|
void |
setTaxonomyUri(java.lang.String taxonomyUri)
Sets the category taxonomy URI.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
public SyndCategoryImpl()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface SyndCategory
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- he reference object with which to compare.public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface SyndCategory
public void setName(java.lang.String name)
setName
in interface SyndCategory
name
- the category name to set, null if none.public java.lang.String getTaxonomyUri()
getTaxonomyUri
in interface SyndCategory
public void setTaxonomyUri(java.lang.String taxonomyUri)
setTaxonomyUri
in interface SyndCategory
taxonomyUri
- the category taxonomy URI to set, null if none.