org.codehaus.plexus.summit.display
Class ClassicBufferedDisplay
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.summit.AbstractSummitComponent
org.codehaus.plexus.summit.display.AbstractDisplay
org.codehaus.plexus.summit.display.ClassicBufferedDisplay
- All Implemented Interfaces:
- org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, Display, org.codehaus.plexus.logging.LogEnabled, SummitComponent
- public class ClassicBufferedDisplay
- extends AbstractDisplay
A ClassicDisplay takes a Resolution computed
by the ClassicResolver and displays the resolution according
to the Turbine 2.x model where we have something like the following:
+------------------------------------------------+
| DefaultLayout.vm |
| +--------------------------------------------+ |
| | TopNavigation.vm | |
| +--------------------------------------------+ |
| |
| +--------------------------------------------+ |
| | | |
| | | |
| | $screenViewContent | |
| | | |
| | | |
| +--------------------------------------------+ |
| |
| +--------------------------------------------+ |
| | TopNavigation.vm | |
| +--------------------------------------------+ |
+------------------------------------------------+
This example uses Velocity templates as an example but this
Display strategy could just as easily be applied
to a set of JSPs.
- Version:
- $Id: ClassicBufferedDisplay.java 2211 2005-07-06 09:46:57Z trygvis $
- Author:
- Jason van Zyl
| Fields inherited from class org.codehaus.plexus.summit.display.AbstractDisplay |
|
| Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|
| Fields inherited from interface org.codehaus.plexus.summit.display.Display |
ROLE |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderer
private Renderer renderer
ClassicBufferedDisplay
public ClassicBufferedDisplay()
render
public void render(RunData data)
throws java.lang.Exception
- Specified by:
render in interface Display- Specified by:
render in class AbstractDisplay
- Throws:
java.lang.Exception