Interface Renderer<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String render​(T object)
      Renders object as plain text.
      void render​(T object, java.lang.Appendable appendable)
      Renders object as plain text, appended directly to appendable.
    • Method Detail

      • render

        java.lang.String render​(T object)
        Renders object as plain text. Should never throw any exceptions!
      • render

        void render​(T object,
                    java.lang.Appendable appendable)
             throws java.io.IOException
        Renders object as plain text, appended directly to appendable. Should never throw any exceptions except if appendable throws an IOException.
        Throws:
        java.io.IOException