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

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

public class TreeCRI
extends RequestInterceptor
implements Command

See Also:
Serialized Form

Constructor Summary
TreeCRI()
           
 
Method Summary
 boolean execute(Context context)
          Implementation of the Command interface for using this class as part of a Chain of Responsibility.
 void postRequest(RequestInterceptorContext context, InterceptorChain chain)
          Implementation of the RequestInterceptor.postRequest(org.apache.beehive.netui.pageflow.interceptor.request.RequestInterceptorContext, org.apache.beehive.netui.pageflow.interceptor.InterceptorChain) method for using this class as part of a request interceptor chain.
 void preRequest(RequestInterceptorContext ctxt, InterceptorChain chain)
          Implementation of the RequestInterceptor.preRequest(org.apache.beehive.netui.pageflow.interceptor.request.RequestInterceptorContext, org.apache.beehive.netui.pageflow.interceptor.InterceptorChain) method for using this class as part of a request interceptor chain.
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

execute

public boolean execute(Context context)
                throws Exception
Implementation of the Command interface for using this class as part of a Chain of Responsibility.

Specified by:
execute in interface Command
Parameters:
context - the Chain's context object
Returns:
true if the request was handled by this command; false otherwise
Throws:
Exception - any exception that is throw during processing

preRequest

public void preRequest(RequestInterceptorContext ctxt,
                       InterceptorChain chain)
                throws InterceptorException
Implementation of the RequestInterceptor.preRequest(org.apache.beehive.netui.pageflow.interceptor.request.RequestInterceptorContext, org.apache.beehive.netui.pageflow.interceptor.InterceptorChain) method for using this class as part of a request interceptor chain.

Specified by:
preRequest in class RequestInterceptor
Parameters:
ctxt - the interceptor's context object
chain - the interceptor chain
Throws:
InterceptorException - any exception thrown during processing

postRequest

public void postRequest(RequestInterceptorContext context,
                        InterceptorChain chain)
                 throws InterceptorException
Implementation of the RequestInterceptor.postRequest(org.apache.beehive.netui.pageflow.interceptor.request.RequestInterceptorContext, org.apache.beehive.netui.pageflow.interceptor.InterceptorChain) method for using this class as part of a request interceptor chain.

Specified by:
postRequest in class RequestInterceptor
Parameters:
context - the interceptor's context object
chain - the interceptor chain
Throws:
InterceptorException - any exception thrown during processing

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)