Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GWT 2.4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.text.shared
Class SimpleSafeHtmlRenderer

    java.lang.Object
      com.google.gwt.text.shared.SimpleSafeHtmlRenderer

All Implemented Interfaces:
  SafeHtmlRenderer<java.lang.String>

    public class SimpleSafeHtmlRenderer

extends java.lang.Object
implements SafeHtmlRenderer<java.lang.String>

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

### getInstance

    public static SimpleSafeHtmlRenderer getInstance()

### render

    public SafeHtml render(java.lang.String object)

  Description copied from interface: `SafeHtmlRenderer`
  Renders `object` as safe HTML.

  Specified by:
    `render` in interface `SafeHtmlRenderer<java.lang.String>`

### render

    public void render(java.lang.String object,
                       SafeHtmlBuilder appendable)

  Description copied from interface: `SafeHtmlRenderer`
  Renders `object` as safe HTML, appended directly to `builder`.

  Specified by:
    `render` in interface `SafeHtmlRenderer<java.lang.String>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GWT 2.4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD