KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > finalist > jag > template > parser > JagParameter


1 /* Copyright (C) 2003 Finalist IT Group
2  *
3  * This file is part of JAG - the Java J2EE Application Generator
4  *
5  * JAG is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * JAG is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  * You should have received a copy of the GNU General Public License
14  * along with JAG; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  */

17
18 package com.finalist.jag.template.parser;
19
20 /**
21  * Class JagParameter
22  *
23  * DataStructure item for a tag parameter.
24  *
25  * @author Wendel D. de Witte
26  * @version %I%, %G%
27  */

28 public class JagParameter {
29
30    /** Field ident */
31    private String JavaDoc ident;
32
33    /** Field value */
34    private String JavaDoc value;
35
36
37    /**
38     * Constructor JagParameter
39     *
40     *
41     * @param ident
42     * @param value
43     *
44     */

45    public JagParameter(String JavaDoc ident, String JavaDoc value) {
46       this.ident = ident;
47       this.value = value;
48    }
49
50
51    public JagParameter(JagParameter n) {
52       this.ident = n.ident;
53       this.value = n.value;
54    }
55
56
57    /**
58     * Method getIdent
59     *
60     *
61     * @return
62     *
63     */

64    public final String JavaDoc getIdent() {
65       return ident;
66    }
67
68
69    /**
70     * Method getValue
71     *
72     *
73     * @return
74     *
75     */

76    public final String JavaDoc getValue() {
77       return value;
78    }
79 }
Popular Tags