01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: package org.apache.commons.betwixt.examples.rss;
19:
20: import java.io.Serializable;
21:
22: /**
23: * <p>Implementation object representing a <strong>textinput</strong> in the
24: * <em>Rich Site Summary</em> DTD, version 0.91. This class may be subclassed
25: * to further specialize its behavior.</p>
26: *
27: * <p>Based on the Jakarta Commons <code>Digester</code> implementation.</p>
28: *
29: * @author Craig R. McClanahan
30: * @version $Revision: 438373 $ $Date: 2006-08-30 06:17:21 +0100 (Wed, 30 Aug 2006) $
31: */
32:
33: public class TextInput implements Serializable {
34:
35: // ------------------------------------------------------------- Properties
36:
37: /**
38: * The text input description (1-100 characters).
39: */
40: protected String description = null;
41:
42: public String getDescription() {
43: return (this .description);
44: }
45:
46: public void setDescription(String description) {
47: this .description = description;
48: }
49:
50: /**
51: * The text input link (1-500 characters).
52: */
53: protected String link = null;
54:
55: public String getLink() {
56: return (this .link);
57: }
58:
59: public void setLink(String link) {
60: this .link = link;
61: }
62:
63: /**
64: * The text input field name (1-100 characters).
65: */
66: protected String name = null;
67:
68: public String getName() {
69: return (this .name);
70: }
71:
72: public void setName(String name) {
73: this .name = name;
74: }
75:
76: /**
77: * The text input submit button label (1-100 characters).
78: */
79: protected String title = null;
80:
81: public String getTitle() {
82: return (this .title);
83: }
84:
85: public void setTitle(String title) {
86: this.title = title;
87: }
88: }
|