org.apache.beehive.netui.tags.tree
Class TreeCRI

Object
  extended by AbstractInterceptor
      extended by RequestInterceptor
          extended by TreeCRI
All Implemented Interfaces:
Serializable, Interceptor

public class TreeCRI
extends RequestInterceptor

See Also:
Serialized Form

Constructor Summary
TreeCRI()
           
 
Method Summary
 void postRequest(RequestInterceptorContext context, InterceptorChain chain)
          Callback invoked after the request is processed.
 void preRequest(RequestInterceptorContext ctxt, InterceptorChain chain)
          Callback invoked before the request is processed.
static void writeElement(AbstractRenderAppender writer, String elementName, String value)
           
static void writeEndElement(AbstractRenderAppender writer, String elementName)
           
static void writeStartElement(AbstractRenderAppender writer, String elementName)
           
 
Methods inherited from class RequestInterceptor
cancelRequest, postInvoke, preInvoke
 
Methods inherited from class AbstractInterceptor
getConfig, init
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCRI

public TreeCRI()
Method Detail

preRequest

public void preRequest(RequestInterceptorContext ctxt,
                       InterceptorChain chain)
                throws InterceptorException
Description copied from class: RequestInterceptor
Callback invoked before the request is processed. During this method, RequestInterceptor.cancelRequest(org.apache.beehive.netui.pageflow.interceptor.request.RequestInterceptorContext) may be called to cancel further request processing. InterceptorChain.continueChain() is called to invoke the rest of the interceptor chain, anywhere within this method (e.g., at the end, or within a try/finally).

Specified by:
preRequest in class RequestInterceptor
Throws:
InterceptorException

postRequest

public void postRequest(RequestInterceptorContext context,
                        InterceptorChain chain)
                 throws InterceptorException
Description copied from class: RequestInterceptor
Callback invoked after the request is processed. InterceptorChain.continueChain() should be called to invoke the rest of the interceptor chain, anywhere within this method (e.g., at the end, or within a try/finally).

Specified by:
postRequest in class RequestInterceptor
Throws:
InterceptorException

writeStartElement

public static void writeStartElement(AbstractRenderAppender writer,
                                     String elementName)

writeEndElement

public static void writeEndElement(AbstractRenderAppender writer,
                                   String elementName)

writeElement

public static void writeElement(AbstractRenderAppender writer,
                                String elementName,
                                String value)