org.infohazard.maverick.flow
Interface ViewFactory

All Known Implementing Classes:
DispatchedViewFactory, DocumentViewFactory, NullViewFactory, RedirectViewFactory, TrivialViewFactory

public interface ViewFactory

This interface allows user-defined view factories to be added to the system.


Method Summary
 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)
          The factory will be initialized with the XML element from from the maverick configuration file.
 

Method Detail

init

public void init(org.jdom.Element factoryNode,
                 javax.servlet.ServletConfig servletCfg)
          throws ConfigException
The factory will be initialized with the XML element from from the maverick configuration file.

ConfigException

createView

public View createView(org.jdom.Element viewNode)
                throws ConfigException
Creates a specific instance of the View from the XML element in the maverick configuration file.

ConfigException