KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > betwixt > examples > rss > TextInput


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
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
18 package org.apache.commons.betwixt.examples.rss;
19
20 import java.io.Serializable JavaDoc;
21
22
23 /**
24  * <p>Implementation object representing a <strong>textinput</strong> in the
25  * <em>Rich Site Summary</em> DTD, version 0.91. This class may be subclassed
26  * to further specialize its behavior.</p>
27  *
28  * <p>Based on the Jakarta Commons <code>Digester</code> implementation.</p>
29  *
30  * @author Craig R. McClanahan
31  * @version $Revision: 1.4 $ $Date: 2004/06/13 21:32:47 $
32  */

33
34 public class TextInput implements Serializable JavaDoc {
35
36
37     // ------------------------------------------------------------- Properties
38

39
40     /**
41      * The text input description (1-100 characters).
42      */

43     protected String JavaDoc description = null;
44
45     public String JavaDoc getDescription() {
46         return (this.description);
47     }
48
49     public void setDescription(String JavaDoc description) {
50         this.description = description;
51     }
52
53
54     /**
55      * The text input link (1-500 characters).
56      */

57     protected String JavaDoc link = null;
58
59     public String JavaDoc getLink() {
60         return (this.link);
61     }
62
63     public void setLink(String JavaDoc link) {
64         this.link = link;
65     }
66
67
68     /**
69      * The text input field name (1-100 characters).
70      */

71     protected String JavaDoc name = null;
72
73     public String JavaDoc getName() {
74         return (this.name);
75     }
76
77     public void setName(String JavaDoc name) {
78         this.name = name;
79     }
80
81
82     /**
83      * The text input submit button label (1-100 characters).
84      */

85     protected String JavaDoc title = null;
86
87     public String JavaDoc getTitle() {
88         return (this.title);
89     }
90
91     public void setTitle(String JavaDoc title) {
92         this.title = title;
93     }
94 }
95
Popular Tags