com.sun.syndication.feed.rss
Class TextInput

java.lang.Object
  extended by com.sun.syndication.feed.rss.TextInput
All Implemented Interfaces:
Serializable, Cloneable

public class TextInput
extends Object
implements Cloneable, Serializable

Bean for text input of RSS feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
TextInput()
          Default constructor.
 
Method Summary
 Object clone()
          Creates a deep 'bean' clone of the object.
 boolean equals(Object other)
          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
 String getDescription()
          Returns the text input description.
 String getLink()
          Returns the text input link.
 String getName()
          Returns the text input name.
 String getTitle()
          Returns the text input title.
 int hashCode()
          Returns a hashcode value for the object.
 void setDescription(String description)
          Sets the text input description.
 void setLink(String link)
          Sets the text input link.
 void setName(String name)
          Sets the text input name.
 void setTitle(String title)
          Sets the text input title.
 String toString()
          Returns the String representation for the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextInput

public TextInput()
Default constructor. All properties are set to null.

Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.

Overrides:
clone in class Object
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.

Overrides:
equals in class Object
Parameters:
other - he reference object with which to compare.
Returns:
true if 'this' object is equal to the 'other' object.

hashCode

public int hashCode()
Returns a hashcode value for the object.

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

Overrides:
hashCode in class Object
Returns:
the hashcode of the bean object.

toString

public String toString()
Returns the String representation for the object.

Overrides:
toString in class Object
Returns:
String representation for the object.

getTitle

public String getTitle()
Returns the text input title.

Returns:
the text input title, null if none.

setTitle

public void setTitle(String title)
Sets the text input title.

Parameters:
title - the text input title to set, null if none.

getDescription

public String getDescription()
Returns the text input description.

Returns:
the text input description, null if none.

setDescription

public void setDescription(String description)
Sets the text input description.

Parameters:
description - the text input description to set, null if none.

getName

public String getName()
Returns the text input name.

Returns:
the text input name, null if none.

setName

public void setName(String name)
Sets the text input name.

Parameters:
name - the text input name to set, null if none.

getLink

public String getLink()
Returns the text input link.

Returns:
the text input link, null if none.

setLink

public void setLink(String link)
Sets the text input link.

Parameters:
link - the text input link to set, null if none.


Copyright © 2004–2013 ROME Project. All rights reserved.