org.apache.wink.common.model.rss
Class RssTextInput

java.lang.Object
  extended by org.apache.wink.common.model.rss.RssTextInput

public class RssTextInput
extends Object

Java class for "textInput" element of RSS 2.0 Specification.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="rssTextInput">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
<textInput> sub-element of <channel>

A channel may optionally contain a <textInput> sub-element, which contains four required sub-elements.

<title> -- The label of the Submit button in the text input area.

<description> -- Explains the text input area.

<name> -- The name of the text object in the text input area.

<link> -- The URL of the CGI script that processes text input requests.

The purpose of the <textInput> element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it.


Field Summary
protected  String description
           
protected  String link
           
protected  String name
           
protected  String title
           
 
Constructor Summary
RssTextInput()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getLink()
          Gets the value of the link property.
 String getName()
          Gets the value of the name property.
 String getTitle()
          Gets the value of the title property.
 void setDescription(String value)
          Sets the value of the description property.
 void setLink(String value)
          Sets the value of the link property.
 void setName(String value)
          Sets the value of the name property.
 void setTitle(String value)
          Sets the value of the title property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected String title

description

protected String description

name

protected String name

link

protected String link
Constructor Detail

RssTextInput

public RssTextInput()
Method Detail

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getLink

public String getLink()
Gets the value of the link property.

Returns:
possible object is String

setLink

public void setLink(String value)
Sets the value of the link property.

Parameters:
value - allowed object is String


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.