KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > finalist > jag > template > UrlHeaderLine


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;
19
20 import com.finalist.jag.template.parser.JagParameter;
21
22 /**
23  * Class UrlHeaderLine
24  *
25  *
26  * @author Wendel D. de Witte
27  * @version %I%, %G%
28  */

29 public class UrlHeaderLine extends HeaderLine {
30
31    /** Field url */
32    private String JavaDoc url = null;
33
34    /** Field prefix */
35    private String JavaDoc prefix = null;
36
37
38    /**
39     * Constructor UrlHeaderLine
40     *
41     *
42     * @param identArray
43     * @param paramArray
44     * @param url
45     * @param prefix
46     *
47     */

48    public UrlHeaderLine(String JavaDoc[] identArray, JagParameter[] paramArray,
49       String JavaDoc url, String JavaDoc prefix) {
50
51       super(identArray, paramArray);
52
53       this.url = url;
54       this.prefix = prefix;
55    }
56
57
58    /**
59     * Method getUrl
60     *
61     *
62     * @return
63     *
64     */

65    public final String JavaDoc getUrl() {
66       return url;
67    }
68
69
70    /**
71     * Method getPrefix
72     *
73     *
74     * @return
75     *
76     */

77    public final String JavaDoc getPrefix() {
78       return prefix;
79    }
80 }
Popular Tags