|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.infohazard.maverick.view.NullViewFactory
Creates a view which does absolutely nothing. The Controller is assumed to have manually written all data to the response. The model is ignored.
Null views have no extra attributes and cannot have transforms.
Nested Class Summary | |
static class |
NullViewFactory.NullView
Simple implementation does nothing. |
Constructor Summary | |
NullViewFactory()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullViewFactory()
Method Detail |
public void init(org.jdom.Element factoryNode, javax.servlet.ServletConfig servletCfg) throws ConfigException
ViewFactory
init
in interface ViewFactory
ConfigException
public View createView(org.jdom.Element viewNode) throws ConfigException
ViewFactory
createView
in interface ViewFactory
ConfigException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |