Package rife.render
Class EncodeHtmlEntities
java.lang.Object
rife.render.EncodeHtmlEntities
- All Implemented Interfaces:
ValueRenderer
Encodes a template value to HTML decimal entities
Usage:
<!--v render:rife.render.EncodeHtmlEntities:valueId/--> {{v render:rife.render.EncodeHtmlEntities:valueId/}}
- Since:
- 1.0
- Author:
- Erik C. Thauvin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EncodeHtmlEntities
public EncodeHtmlEntities()
-
-
Method Details
-
render
Returns the template value encoded to HTML decimal entities.- Specified by:
render
in interfaceValueRenderer
- Parameters:
template
- the template instancevalueId
- the value iddifferentiator
- the differentiator- Returns:
- the encoded value
-