Top Description Fields Constructors Methods
com.rometools.rome.feed.atom

public Class Category

extends Object
implements Cloneable, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, java.lang.Cloneable
Imports
java.io.Serializable, java.util.Collections, com.rometools.rome.feed.impl.CloneableBean, .EqualsBean, .ToStringBean, com.rometools.utils.Alternatives

Bean for category elements of Atom feeds.

Field Summary

Modifier and TypeField and Description
private String
private String
private String
private static final long
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a clone of the object.
clone
()

Overrides java.lang.Object.clone.

Creates a deep 'bean' clone of the object.
public boolean

Returns:

true if 'this' object is equal to the 'other' object.
equals
(final Object
he reference object with which to compare.
other
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
public String

Returns:

Label for category.
getLabel
()

Get label for category.

public String

Returns:

Scheme URI for category.
getScheme
()

Get Scheme URI for category.

public String
public String

Returns:

Term for category.
getTerm
()

Return term for category.

public int

Returns:

the hashcode of the bean object.
hashCode
()

Overrides java.lang.Object.hashCode.

Returns a hashcode value for the object.
public void
setLabel(final String
Label for category.
label
)

Set label for category.

public void
setScheme(final String
Scheme URI for category.
scheme
)

Set scheme URI for category.

public void
setSchemeResolved(final String schemeResolved)

public void
setTerm(final String
Term for category.
term
)

Set term for category.

public String

Returns:

String representation for the object.
toString
()

Overrides java.lang.Object.toString.

Returns the String representation for the object.
Inherited from java.lang.Object:
finalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

labelback to summary
private String label
schemeback to summary
private String scheme
schemeResolvedback to summary
private String schemeResolved
serialVersionUIDback to summary
private static final long serialVersionUID
termback to summary
private String term

Constructor Detail

Categoryback to summary
public Category()

Method Detail

cloneback to summary
public Object clone() throws CloneNotSupportedException

Overrides java.lang.Object.clone.

Creates a deep 'bean' clone of the object.

Returns:Object

a clone of the object.

Annotations
@Override
Exceptions
CloneNotSupportedException:
thrown if an element of the object cannot be cloned.
equalsback to summary
public boolean equals(final Object other)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

Parameters
other:Object

he reference object with which to compare.

Returns:boolean

true if 'this' object is equal to the 'other' object.

Annotations
@Override
getLabelback to summary
public String getLabel()

Get label for category.

Returns:String

Label for category.

getSchemeback to summary
public String getScheme()

Get Scheme URI for category.

Returns:String

Scheme URI for category.

getSchemeResolvedback to summary
public String getSchemeResolved()
getTermback to summary
public String getTerm()

Return term for category.

Returns:String

Term for category.

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

Returns:int

the hashcode of the bean object.

Annotations
@Override
setLabelback to summary
public void setLabel(final String label)

Set label for category.

Parameters
label:String

Label for category.

setSchemeback to summary
public void setScheme(final String scheme)

Set scheme URI for category.

Parameters
scheme:String

Scheme URI for category.

setSchemeResolvedback to summary
public void setSchemeResolved(final String schemeResolved)
setTermback to summary
public void setTerm(final String term)

Set term for category.

Parameters
term:String

Term for category.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the String representation for the object.

Returns:String

String representation for the object.

Annotations
@Override