com.fruitioninc.jwc
Interface View
- All Known Implementing Classes:
- ComponentView
- public interface View
Responsible for renderering the graphical representation of a component.
In practice this involves serializing the component into SAX events, DOM elements, JavaBeans, or directly into HTML.
In the non-HTML cases, there would likely need to be a second step to transform the intermediate representation into HTML.
This could be done with XSLT or JavaServer pages.
render
public void render(RenderContext context,
Component component)
throws RenderException
- Creates the graphical representation of a component.
- Parameters:
context
- the context in which to render (this will need to be cast to an implementation specific class/interface).component
- the component to render
RenderException