Package com.google.gwt.text.shared
Class SimpleSafeHtmlRenderer
java.lang.Object
com.google.gwt.text.shared.SimpleSafeHtmlRenderer
- All Implemented Interfaces:
SafeHtmlRenderer<String>
A simple
SafeHtmlRenderer
implementation that calls
SafeHtmlUtils.fromString(String)
to escape its arguments.-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleSafeHtmlRenderer
Rendersobject
as safe HTML.void
render
(String object, SafeHtmlBuilder appendable) Rendersobject
as safe HTML, appended directly tobuilder
.
-
Method Details
-
getInstance
-
render
Description copied from interface:SafeHtmlRenderer
Rendersobject
as safe HTML.- Specified by:
render
in interfaceSafeHtmlRenderer<String>
-