KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > functions > VoidFunctionTag


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.bridge.jsp.taglib.functions;
11
12 import javax.servlet.jsp.JspTagException JavaDoc;
13
14 import org.mmbase.bridge.jsp.taglib.containers.FunctionContainerReferrer;
15
16 /**
17  * If you want to completely ignore the result of a function (only interested in the side effect),
18  * then you can use <mm:voidfunction
19  *
20  * @author Michiel Meeuwissen
21  * @since MMBase-1.7
22  * @version $Id: VoidFunctionTag.java,v 1.3 2004/12/06 15:25:19 pierre Exp $
23  */

24 public class VoidFunctionTag extends AbstractFunctionTag implements FunctionContainerReferrer {
25     public int doStartTag() throws JspTagException JavaDoc {
26         getFunctionValue();
27         return SKIP_BODY;
28     }
29 }
30
Popular Tags