01: /*
02: * Copyright 2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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.JspException;
19: import javax.servlet.jsp.tagext.TagSupport;
20:
21: /**
22: * see Javadoc of <a href="http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/index.html">JSF Specification</a>
23: *
24: * @author Manfred Geiler (latest modification by $Author: matzew $)
25: * @version $Revision: 521673 $ $Date: 2007-03-23 12:11:47 +0100 (Fr, 23 Mrz 2007) $
26: */
27: public class FacetTag extends TagSupport {
28: private static final long serialVersionUID = -5254277925259361302L;
29: private String _name;
30:
31: public String getName() {
32: return _name;
33: }
34:
35: public void setName(String name) {
36: _name = name;
37: }
38:
39: public void release() {
40: super .release();
41: _name = null;
42: }
43:
44: public int doStartTag() throws JspException {
45: return EVAL_BODY_INCLUDE;
46: }
47:
48: }
|