KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > jsf > BeanTagsHandler


1 /*
2  * Copyright (c) 2001, 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package xdoclet.modules.jsf;
6
7 import xdoclet.*;
8 /**
9  * @author <a HREF="mailto:markus.plattner at plattners.de">Markus Plattner</a>
10  * @created 3. Juni 2004
11  * @xdoclet.taghandler namespace="FacesBeans"
12  */

13 public class BeanTagsHandler extends XDocletTagSupport
14 {
15
16     private String JavaDoc name = null;
17     private String JavaDoc scope = "request";
18
19     /**
20      * @
21      *
22      * @return
23      */

24     public String JavaDoc getName()
25     {
26         return name;
27     }
28
29     public String JavaDoc getScope()
30     {
31         return scope;
32     }
33
34     public void setName(String JavaDoc name)
35     {
36         this.name = name;
37     }
38
39     public void setScope(String JavaDoc scope)
40     {
41         this.scope = scope;
42     }
43
44     /**
45      * @return
46      * @doc.tag type="content"
47      */

48     public String JavaDoc name()
49     {
50         return getName();
51     }
52
53     /**
54      * @return
55      * @doc.tag type="content"
56      */

57     public String JavaDoc scope()
58     {
59         return getScope();
60     }
61 }
62
Popular Tags