|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.text.shared.SimpleSafeHtmlRenderer
public class SimpleSafeHtmlRenderer
A simple SafeHtmlRenderer
implementation that calls
SafeHtmlUtils.fromString(String)
to escape its arguments.
Method Summary | |
---|---|
static SimpleSafeHtmlRenderer |
getInstance()
|
SafeHtml |
render(java.lang.String object)
Renders object as safe HTML. |
void |
render(java.lang.String object,
SafeHtmlBuilder appendable)
Renders object as safe HTML, appended directly to builder . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SimpleSafeHtmlRenderer getInstance()
public SafeHtml render(java.lang.String object)
SafeHtmlRenderer
object
as safe HTML.
render
in interface SafeHtmlRenderer<java.lang.String>
public void render(java.lang.String object, SafeHtmlBuilder appendable)
SafeHtmlRenderer
object
as safe HTML, appended directly to builder
.
render
in interface SafeHtmlRenderer<java.lang.String>
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |