|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.spectacle.gee.TemplateEntryRenderer
public class TemplateEntryRenderer
Class TemplateEntryRenderer provides a generic way to render Entities using a Template.
| Constructor Summary | |
|---|---|
TemplateEntryRenderer()
For serialization only. |
|
TemplateEntryRenderer(String templateSource,
String templateID)
Construct a new TemplateEntryRenderer. |
|
| Method Summary | |
|---|---|
void |
render(Entity entity,
Channel channel)
Perform the actual rendering of an entity in a channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateEntryRenderer()
public TemplateEntryRenderer(String templateSource,
String templateID)
templateSource - The channel containing the Template to use.templateID - The ID of the Template to use.| Method Detail |
|---|
public void render(Entity entity,
Channel channel)
throws ChannelException
render in interface EntryRendererentity - The Entity to render.channel - The channel to render the Entiry in.
ChannelException - if something goes wrong adding the rendered
entity (i.e. the Entry) to the Channel.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||