Package com.rometools.rome.feed.atom
Class Category
- java.lang.Object
-
- com.rometools.rome.feed.atom.Category
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Category extends Object implements Cloneable, Serializable
Bean for category elements of Atom feeds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates a deep 'bean' clone of the object.booleanequals(Object other)Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetLabel()Get label for category.StringgetScheme()Get Scheme URI for category.StringgetSchemeResolved()StringgetTerm()Return term for category.inthashCode()Returns a hashcode value for the object.voidsetLabel(String label)Set label for category.voidsetScheme(String scheme)Set scheme URI for category.voidsetSchemeResolved(String schemeResolved)voidsetTerm(String term)Set term for category.StringtoString()Returns the String representation for the object.
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Overrides:
clonein classObject- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
-
hashCode
public int hashCode()
Returns a hashcode value for the object.It follows the contract defined by the Object hashCode() method.
-
toString
public String toString()
Returns the String representation for the object.
-
getLabel
public String getLabel()
Get label for category.- Returns:
- Label for category.
-
setLabel
public void setLabel(String label)
Set label for category.- Parameters:
label- Label for category.
-
getScheme
public String getScheme()
Get Scheme URI for category.- Returns:
- Scheme URI for category.
-
setScheme
public void setScheme(String scheme)
Set scheme URI for category.- Parameters:
scheme- Scheme URI for category.
-
setSchemeResolved
public void setSchemeResolved(String schemeResolved)
-
getSchemeResolved
public String getSchemeResolved()
-
getTerm
public String getTerm()
Return term for category.- Returns:
- Term for category.
-
setTerm
public void setTerm(String term)
Set term for category.- Parameters:
term- Term for category.
-
-