KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > faces > webapp > FacetTag


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package javax.faces.webapp;
17
18 import javax.servlet.jsp.tagext.Tag JavaDoc;
19 import javax.servlet.jsp.tagext.TagSupport JavaDoc;
20
21 /**
22  * @author Manfred Geiler (latest modification by $Author: mwessendorf $)
23  * @version $Revision: 1.4 $ $Date: 2004/07/01 22:00:54 $
24  */

25 public class FacetTag
26         extends TagSupport JavaDoc
27 {
28     private String JavaDoc _name;
29
30     public String JavaDoc getName()
31     {
32         return _name;
33     }
34
35     public void setName(String JavaDoc name)
36     {
37         _name = name;
38     }
39
40     public void release()
41     {
42         super.release();
43         _name = null;
44     }
45
46     public int doStartTag()
47             throws javax.servlet.jsp.JspException JavaDoc
48     {
49         return Tag.EVAL_BODY_INCLUDE;
50     }
51
52     public int doEndTag()
53             throws javax.servlet.jsp.JspException JavaDoc
54     {
55         return Tag.EVAL_PAGE;
56     }
57 }
58
Popular Tags