1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18
19 package org.apache.commons.betwixt.examples.rss;
20
21 import java.io.Serializable;
22
23
24 /**
25 * <p>Implementation object representing a <strong>textinput</strong> in the
26 * <em>Rich Site Summary</em> DTD, version 0.91. This class may be subclassed
27 * to further specialize its behavior.</p>
28 *
29 * <p>Based on the Apache Commons <code>Digester</code> implementation.</p>
30 *
31 * @author Craig R. McClanahan
32 * @version $Revision: 561230 $ $Date: 2007-07-31 05:17:09 +0100 (Tue, 31 Jul 2007) $
33 */
34
35 public class TextInput implements Serializable {
36
37
38 // ------------------------------------------------------------- Properties
39
40
41 /**
42 * The text input description (1-100 characters).
43 */
44 protected String description = null;
45
46 public String getDescription() {
47 return (this.description);
48 }
49
50 public void setDescription(String description) {
51 this.description = description;
52 }
53
54
55 /**
56 * The text input link (1-500 characters).
57 */
58 protected String link = null;
59
60 public String getLink() {
61 return (this.link);
62 }
63
64 public void setLink(String link) {
65 this.link = link;
66 }
67
68
69 /**
70 * The text input field name (1-100 characters).
71 */
72 protected String name = null;
73
74 public String getName() {
75 return (this.name);
76 }
77
78 public void setName(String name) {
79 this.name = name;
80 }
81
82
83 /**
84 * The text input submit button label (1-100 characters).
85 */
86 protected String title = null;
87
88 public String getTitle() {
89 return (this.title);
90 }
91
92 public void setTitle(String title) {
93 this.title = title;
94 }
95 }