KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > WriterReferrer


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;
11 import javax.servlet.jsp.JspTagException JavaDoc;
12
13 /**
14  * A Tag which (sometimes) needs to refer to a Writer can implement this
15  * interface. For convenience, the implementation is in
16  * ContextReferrer, but conceptually this is not really correct.
17  *
18  * @author Michiel Meeuwissen
19  * @version $Id: WriterReferrer.java,v 1.4 2003/06/06 10:03:10 pierre Exp $
20  */

21
22 public interface WriterReferrer {
23
24     /**
25      * A WriterReferrer has a 'writer' attribute.
26      */

27     public void setWriter(String JavaDoc w) throws JspTagException JavaDoc;
28
29     /**
30      * Returns the parent writer;
31      */

32     public Writer findWriter() throws JspTagException JavaDoc;
33
34 }
35
Popular Tags