Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.infohazard.maverick.view
Class DispatchedViewFactory  view DispatchedViewFactory download DispatchedViewFactory.java

java.lang.Object
  extended byorg.infohazard.maverick.view.DispatchedViewFactory
All Implemented Interfaces:
org.infohazard.maverick.flow.ViewFactory

public class DispatchedViewFactory
extends java.lang.Object
implements org.infohazard.maverick.flow.ViewFactory

This factory creates Views which use the RequestDispatcher to obtain content. It is used by the DocumentViewFactory and not intended to be designated as a normal Maverick view type.


Nested Class Summary
protected static class DispatchedViewFactory.DispatchedView
          The view is rendered as a RequestDispatcher.forward() or include().
 
Field Summary
private static org.apache.commons.logging.Log log
          Logger.
 
Constructor Summary
DispatchedViewFactory()
           
 
Method Summary
 org.infohazard.maverick.flow.View createView(org.jdom.Element viewNode)
          Creates a specific instance of the View from the XML element in the maverick configuration file.
 void init(org.jdom.Element factoryNode, javax.servlet.ServletConfig servletCfg)
          Initialize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log
Logger.

Constructor Detail

DispatchedViewFactory

public DispatchedViewFactory()
Method Detail

init

public void init(org.jdom.Element factoryNode,
                 javax.servlet.ServletConfig servletCfg)
          throws org.infohazard.maverick.flow.ConfigException
Initialize.

Specified by:
init in interface org.infohazard.maverick.flow.ViewFactory

createView

public org.infohazard.maverick.flow.View createView(org.jdom.Element viewNode)
                                             throws org.infohazard.maverick.flow.ConfigException
Description copied from interface: org.infohazard.maverick.flow.ViewFactory
Creates a specific instance of the View from the XML element in the maverick configuration file.

Specified by:
createView in interface org.infohazard.maverick.flow.ViewFactory