Class AbstractRenderer<T>

java.lang.Object
com.google.gwt.text.shared.AbstractRenderer<T>
Type Parameters:
T - the type to render
All Implemented Interfaces:
Renderer<T>
Direct Known Subclasses:
DateTimeFormatRenderer, DoubleRenderer, IntegerRenderer, LongRenderer, NumberFormatRenderer, PassthroughRenderer, ProxyRenderer, ToStringRenderer

public abstract class AbstractRenderer<T> extends Object implements Renderer<T>
Abstract implementation of a renderer to make implementation of rendering simpler.
  • Constructor Details

    • AbstractRenderer

      public AbstractRenderer()
  • Method Details

    • render

      public void render(T object, Appendable appendable) throws IOException
      Description copied from interface: Renderer
      Renders object as plain text, appended directly to appendable. Should never throw any exceptions except if appendable throws an IOException.
      Specified by:
      render in interface Renderer<T>
      Throws:
      IOException