org.apache.beehive.netui.tags.tree
Class TreeCRI
Object
AbstractInterceptor
RequestInterceptor
TreeCRI
- All Implemented Interfaces:
- Serializable, Command, Interceptor
public class TreeCRI
- extends RequestInterceptor
- implements Command
- See Also:
- Serialized Form
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCRI
public TreeCRI()
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 objectchain
- 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 objectchain
- 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)