Package rife.render
Class EncodeHtml
java.lang.Object
rife.render.EncodeHtml
- All Implemented Interfaces:
ValueRenderer
Encodes a template value to HTML.
Usage:
<!--v render:rife.render.EncodeHtml:valueId/--> {{v render:rife.render.EncodeHtml:valueId/}}
- Since:
- 1.0
- Author:
- Erik C. Thauvin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EncodeHtml
public EncodeHtml()
-
-
Method Details
-
render
Returns the template value encoded to HTML.- Specified by:
render
in interfaceValueRenderer
- Parameters:
template
- the template containing the value to be renderedvalueId
- the identifier of the value to renderdifferentiator
- a string used to differentiate the rendering- Returns:
- the HTML-encoded value
-