View Javadoc

1   /*
2    * Copyright 2004 Sun Microsystems, Inc.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package com.sun.syndication.feed.rss;
18  
19  import com.sun.syndication.common.ObjectBean;
20  
21  /***
22   * Bean for text input of RSS feeds.
23   * <p>
24   * @author Alejandro Abdelnur
25   *
26   */
27  public class TextInput extends ObjectBean {
28      private String _title;
29      private String _description;
30      private String _name;
31      private String _link;
32  
33      /***
34       * Default constructor. All properties are set to <b>null</b>.
35       * <p>
36       *
37       */
38      public TextInput() {
39          super(TextInput.class);
40      }
41  
42      /***
43       * Returns the text input title.
44       * <p>
45       * @return the text input title, <b>null</b> if none.
46       *
47       */
48      public String getTitle() {
49          return _title;
50      }
51  
52      /***
53       * Sets the text input title.
54       * <p>
55       * @param title the text input title to set, <b>null</b> if none.
56       *
57       */
58      public void setTitle(String title) {
59          _title = title;
60      }
61  
62      /***
63       * Returns the text input description.
64       * <p>
65       * @return the text input description, <b>null</b> if none.
66       *
67       */
68      public String getDescription() {
69          return _description;
70      }
71  
72      /***
73       * Sets the text input description.
74       * <p>
75       * @param description the text input description to set, <b>null</b> if none.
76       *
77       */
78      public void setDescription(String description) {
79          _description = description;
80      }
81  
82      /***
83       * Returns the text input name.
84       * <p>
85       * @return the text input name, <b>null</b> if none.
86       *
87       */
88      public String getName() {
89          return _name;
90      }
91  
92      /***
93       * Sets the text input name.
94       * <p>
95       * @param name the text input name to set, <b>null</b> if none.
96       *
97       */
98      public void setName(String name) {
99          _name = name;
100     }
101 
102     /***
103      * Returns the text input link.
104      * <p>
105      * @return the text input link, <b>null</b> if none.
106      *
107      */
108     public String getLink() {
109         return _link;
110     }
111 
112     /***
113      * Sets the text input link.
114      * <p>
115      * @param link the text input link to set, <b>null</b> if none.
116      *
117      */
118     public void setLink(String link) {
119         _link = link;
120     }
121 
122 }