Package com.rometools.rome.feed.atom
Class Generator
- java.lang.Object
-
- com.rometools.rome.feed.atom.Generator
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Generator extends Object implements Cloneable, Serializable
Bean for the generator element of Atom feeds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Generator()
-
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.StringgetUrl()Returns the generator URL.StringgetValue()Returns the generator value.StringgetVersion()Returns the generator version.inthashCode()Returns a hashcode value for the object.voidsetUrl(String url)Sets the generator URL.voidsetValue(String value)Sets the generator value.voidsetVersion(String version)Sets the generator version.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.
-
getUrl
public String getUrl()
Returns the generator URL.- Returns:
- the generator URL, null if none.
-
setUrl
public void setUrl(String url)
Sets the generator URL.- Parameters:
url- the generator URL, null if none.
-
getVersion
public String getVersion()
Returns the generator version.- Returns:
- the generator version, null if none.
-
setVersion
public void setVersion(String version)
Sets the generator version.- Parameters:
version- the generator version, null if none.
-
getValue
public String getValue()
Returns the generator value.- Returns:
- the generator value, null if none.
-
setValue
public void setValue(String value)
Sets the generator value.- Parameters:
value- the generator value, null if none.
-
-