com.primix.tapestry
Interface IRender
- All Known Subinterfaces:
- IAction, IComponent, IDirect, IExternalPage, IForm, IFormComponent, IPage, IServiceLink, IValidatingTextField
- All Known Implementing Classes:
- RequestContext, RenderTemplateHTML
- public interface IRender
An element that may be asked to render itself to an
IResponseWriter
using a IRequestCycle
.
This primarily includes IComponent
and IPage
,
but also extends to other things, such as objects responsible for
rendering static HTML text.
- Version:
- $Id: IRender.java,v 1.5 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
render
public void render(IResponseWriter writer,
IRequestCycle cycle)
throws RequestCycleException
- 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).