com.primix.tapestry.parse
Class RenderTemplateHTML
java.lang.Object
|
+--com.primix.tapestry.parse.RenderTemplateHTML
- All Implemented Interfaces:
- IRender
- public class RenderTemplateHTML
- extends java.lang.Object
- implements IRender
Renders static HTML text from a template. To neaten up the response HTML, leading
and trailing whitespace is reduced to a single character.
- Version:
- $Id: RenderTemplateHTML.java,v 1.8 2001/06/28 15:54:18 hship Exp $
- Author:
- Howard Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RenderTemplateHTML
public RenderTemplateHTML(char[] templateData,
int offset,
int length)
render
public void render(IResponseWriter writer,
IRequestCycle cycle)
throws RequestCycleException
- Description copied from interface:
IRender
- The principal rendering/rewinding method. This will cause
the receiving component to render its top level elements (HTML
text and components).
Renderring and rewinding are the exact same process. The
same code that renders must be able to restore state by going
through the exact same operations (even though the output is
discarded).
- Specified by:
render
in interface IRender
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object