org.enhydra.barracuda.core.event.helper
Class BlockIterateHandler
java.lang.Object
org.enhydra.barracuda.core.event.DefaultBaseEventListener
org.enhydra.barracuda.core.event.helper.BlockIterateHandler
- All Implemented Interfaces:
- BaseEventListener, EventListener
- public abstract class BlockIterateHandler
- extends DefaultBaseEventListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localLogger
public static org.apache.log4j.Logger localLogger
NODE_ITERATOR_FLAG
protected static final String NODE_ITERATOR_FLAG
vc
protected ViewContext vc
bi
protected BlockIterator bi
BlockIterateHandler
public BlockIterateHandler()
setViewContext
public void setViewContext(ViewContext ivc)
- Public noargs constructor
getViewContext
public ViewContext getViewContext()
updateModelInTemplate
public void updateModelInTemplate(TemplateModel model)
getDOMWriter
public DOMWriter getDOMWriter()
initHandler
public void initHandler()
- you can override this method to handle any initializion
needs for the handler. Its invoked after the view context info
has been set up
getTemplateClass
public abstract Class getTemplateClass()
getIterator
public abstract BlockIterator getIterator(String key)
handleViewEvent
public void handleViewEvent(ViewEventContext vec)
throws EventException,
javax.servlet.ServletException,
IOException
- Handle the ViewEvent
- Overrides:
handleViewEvent
in class DefaultBaseEventListener
- Parameters:
vec
- the ViewEventContext
- Throws:
IOException
EventException
javax.servlet.ServletException
printNode
public void printNode(Node node,
PrintWriter out,
int depth,
boolean isHtml)
throws RenderException,
IOException
- Throws:
RenderException
IOException
printChildNodes
public void printChildNodes(Node node,
PrintWriter out,
int depth,
boolean isHtml)
throws RenderException,
IOException
- Throws:
RenderException
IOException
Copyright © 2003 BarracudaMVC.org All Rights Reserved.