| com.uwyn.rife.template.ValueRenderer
All known Subclasses: com.uwyn.rife.template.RendererImpl,
ValueRenderer | public interface ValueRenderer (Code) | | 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.
author: Keith Lea <keith[remove] at cs dot oswego dot edu> author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.0 |
render | public String render(Template template, String valueId, String differentiator)(Code) | | Renders the specified value in the given template. The value ID will be
of the form "RENDER:className " or "RENDER:className:differentiator ",
where "className " is the fully qualified name of this
class.
Parameters: template - the template into which the returned string will beinserted Parameters: valueId - the ID of the value in the given template whose valuewill be set to the returned string Parameters: differentiator - the differentiator string passed as part of thevalue ID, or null if none was provided the rendered text since: 1.0 |
|
|