KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > improve > struts > taglib > layout > event > LayoutEventListener


1 package fr.improve.struts.taglib.layout.event;
2
3 import javax.servlet.jsp.JspException JavaDoc;
4
5 /**
6  * Interface implemented by struts-layout tags that want to collaborate.
7  * @author jnribette
8  */

9 public interface LayoutEventListener {
10     /**
11      * Process a StartLayoutEvent.
12      * If the listener generates <tr> tag it must also write the event value to the out flow and return Boolean.TRUE
13      * However it must return Boolean.FALSE
14      */

15     public Object JavaDoc processStartLayoutEvent(StartLayoutEvent in_event) throws JspException JavaDoc;
16     /**
17      * Process a EndLayoutEvent.
18      * If the listener generates </tr> tag it must also write the event value to the out flow and return Boolean.TRUE
19      * However it must return Boolean.FALSE
20      */

21     public Object JavaDoc processEndLayoutEvent(EndLayoutEvent in_event) throws JspException JavaDoc;
22 }
23
Popular Tags