|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tonjac.mini.OutputRender
public class OutputRender
Base class for a render. Use this class as a base if your want to implement your own render.
| Constructor Summary | |
|---|---|
protected |
OutputRender(java.lang.String template,
Session session,
java.util.Properties args)
Create a output render |
| Method Summary | |
|---|---|
protected void |
addFieldService(DataService svc)
Adds a field data service that will be used by this render to fill the fields in the template page with data |
protected void |
addListService(java.lang.String table_marker,
DataService svc)
Adds a table data service that will be used by this render to fill a table in the template page with data |
protected void |
addRenderAfter(OutputRender after)
Adds a render that will be executed after this render |
protected void |
addRenderBefore(OutputRender before)
Adds a render that will be executed before this render |
java.lang.String |
render()
Called by mini when rendering of a page should be done |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected OutputRender(java.lang.String template,
Session session,
java.util.Properties args)
throws java.lang.Exception
template - Template filesession - Sessionargs - CGI-arguments
java.lang.Exception| Method Detail |
|---|
protected void addRenderBefore(OutputRender before)
before - Render objectprotected void addRenderAfter(OutputRender after)
after - Render objectprotected void addFieldService(DataService svc)
svc - Data service object
protected void addListService(java.lang.String table_marker,
DataService svc)
table_marker - Table namesvc - Table data service object
public java.lang.String render()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||