Copyright (c) 2000-2002 ChurchillObjects.com

churchillobjects.rss4j
Class RssChannelTextInput

java.lang.Object
  |
  +--churchillobjects.rss4j.RssChannelTextInput
All Implemented Interfaces:
java.lang.Cloneable, IUsesDublinCore, java.io.Serializable

public class RssChannelTextInput
extends java.lang.Object
implements IUsesDublinCore, java.lang.Cloneable, java.io.Serializable

Encapsulates the data and some minor logic regarding an item in the RSS object model. The item contains only those attributes pertaining to a single item and an optional dublin core object.

See Also:
Serialized Form

Field Summary
private  churchillobjects.rss4j.RssDublinCore dublinCore
          The dublin core for the input.
private  java.lang.String inputDescription
          A description for the text input.
private  java.lang.String inputLink
          The link for the input (the form target).
private  java.lang.String inputName
          The name of the input (for the form).
private  java.lang.String inputTitle
          The title of the text input.
 
Constructor Summary
RssChannelTextInput()
           
 
Method Summary
 java.lang.Object clone()
          Public clone method to allow cloning.
 boolean equals(java.lang.Object obj)
          Canonical equals method.
 churchillobjects.rss4j.RssDublinCore getDublinCore()
          Returns the input's dublin core.
 java.lang.String getInputDescription()
          Returns the input's description.
 java.lang.String getInputLink()
          Returns the input's link (the action of the form).
 java.lang.String getInputName()
          Returns the input's name (the name of the form's input tag, for the server to parse when submitted).
 java.lang.String getInputTitle()
          Returns the input's title.
 int hashCode()
          Computes the hashcode of this object based on the hashcodes of the objects it contains.
 void setDublinCore(churchillobjects.rss4j.RssDublinCore dc)
          Sets the input's dublin core.
 void setInputDescription(java.lang.String s)
          Sets the input's description.
 void setInputLink(java.lang.String s)
          Sets the input's link (the action of the form).
 void setInputName(java.lang.String s)
          Sets the input's name (the name of the form's input tag, for the server to parse when submitted).
 void setInputTitle(java.lang.String s)
          Sets the input's title.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

inputTitle

private java.lang.String inputTitle
The title of the text input.


inputDescription

private java.lang.String inputDescription
A description for the text input.


inputName

private java.lang.String inputName
The name of the input (for the form).


inputLink

private java.lang.String inputLink
The link for the input (the form target).


dublinCore

private churchillobjects.rss4j.RssDublinCore dublinCore
The dublin core for the input.

Constructor Detail

RssChannelTextInput

public RssChannelTextInput()
Method Detail

setInputTitle

public void setInputTitle(java.lang.String s)
Sets the input's title.

Parameters:
s -

getInputTitle

public java.lang.String getInputTitle()
Returns the input's title.

Returns:

setInputDescription

public void setInputDescription(java.lang.String s)
Sets the input's description.

Parameters:
s -

getInputDescription

public java.lang.String getInputDescription()
Returns the input's description.

Returns:

setInputName

public void setInputName(java.lang.String s)
Sets the input's name (the name of the form's input tag, for the server to parse when submitted).

Parameters:
s -

getInputName

public java.lang.String getInputName()
Returns the input's name (the name of the form's input tag, for the server to parse when submitted).

Returns:

setInputLink

public void setInputLink(java.lang.String s)
Sets the input's link (the action of the form).

Parameters:
s -

getInputLink

public java.lang.String getInputLink()
Returns the input's link (the action of the form).

Returns:

setDublinCore

public void setDublinCore(churchillobjects.rss4j.RssDublinCore dc)
Sets the input's dublin core.

Specified by:
setDublinCore in interface IUsesDublinCore
Parameters:
dc -

getDublinCore

public churchillobjects.rss4j.RssDublinCore getDublinCore()
Returns the input's dublin core.

Specified by:
getDublinCore in interface IUsesDublinCore
Returns:

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:

hashCode

public int hashCode()
Computes the hashcode of this object based on the hashcodes of the objects it contains. For semantic reasons, an object with all null values returns 0, the same as if it were null within another object.

Overrides:
hashCode in class java.lang.Object
Returns:
The object's hashcode

equals

public boolean equals(java.lang.Object obj)
Canonical equals method. Two RssChannel objects will be equal if their hashcodes (and thus their contents) are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The other object
Returns:
If the two objects are canonically equal

clone

public java.lang.Object clone()
Public clone method to allow cloning.

Overrides:
clone in class java.lang.Object
Returns:
This object's clone

Copyright (c) 2000-2002 ChurchillObjects.com