1 /* Copyright (C) 2004 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.ant.tasks.docbook;
19
20 import org.apache.tools.ant.Task;
21
22 /***
23 * <code>XSLTParameterTask.java</code>
24 *
25 * This class representa a name value pair. Is't a simple bean class which is also a ant Task
26 *
27 * @author Stefan Lenselink
28 * @version $Revision: 1.1 $
29 */
30
31 public class XSLTParameterTask extends Task {
32 private String name;
33 private String value;
34
35 /***
36 * The Setter value for the name attribute
37 *
38 * @param name the name of the name value pair
39 */
40 public void setName(String name){
41 this.name = name;
42 }
43
44 /***
45 * The Setter value for the value attribute
46 *
47 * @param value the value of the name value pair
48 */
49 public void setValue(String value){
50 this.value = value;
51 }
52
53 /***
54 * The Getter method for the name attribute
55 *
56 * @return the name of the name value pair
57 */
58 public String getName(){
59 return name;
60 }
61
62 /***
63 * The Getter method for the value attribute
64 *
65 * @return the value of the name value pair
66 */
67 public String getValue(){
68 return value;
69 }
70 }
71
72
73 /*
74 * $Log: XSLTParameterTask.java,v $
75 * Revision 1.1 2004/03/12 22:16:00 ekkelenkamp
76 * no message
77 *
78 * Revision 1.1 2003/12/29 15:46:41 stefan
79 * initial checkin of the DocBook Ant Task
80 *
81 *
82 */