SafeHtmlRenderer (GWT Javadoc)

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

## com.google.gwt.text.shared
Interface SafeHtmlRenderer<T>

Type Parameters:
  `T` - the type to render

All Known Implementing Classes:
  AbstractSafeHtmlRenderer, ImageResourceRenderer, SimpleSafeHtmlRenderer

    public interface SafeHtmlRenderer<T>

An object that can render other objects of a particular type into safe HTML form. Allows decoupling that is useful for a dependency-injection architecture.

Method Summary
`SafeHtml` | `render(T object)` Renders `object` as safe HTML.
`void` | `render(T object, SafeHtmlBuilder builder)` Renders `object` as safe HTML, appended directly to `builder`.

Method Detail

### render

    SafeHtml render(T object)

  Renders `object` as safe HTML.

### render

    void render(T object,
                SafeHtmlBuilder builder)

  Renders `object` as safe HTML, appended directly to `builder`.

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