|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValueRenderer
An object which can render content for a value in a template. To use a
renderer in a template, the template should contain a value with an ID like
"RENDER:org.rifers.something.MyRenderer", where
MyRenderer is your ValueRenderer class.
Value renderer implementations must provide a public zero-argumnet no-arg constructor.
| Method Summary | |
|---|---|
String |
render(Template template,
String valueId,
String differentiator)
Renders the specified value in the given template. |
| Method Detail |
|---|
String render(Template template,
String valueId,
String differentiator)
RENDER:className" or "RENDER:className:differentiator",
where "className" is the fully qualified name of this
class.
template - the template into which the returned string will be
insertedvalueId - the ID of the value in the given template whose value
will be set to the returned stringdifferentiator - the differentiator string passed as part of the
value ID, or null if none was provided
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||