Class PlainTextRenderer

  • All Implemented Interfaces:
    TextRenderer

    public final class PlainTextRenderer
    extends java.lang.Object
    implements TextRenderer
    Renders input unchanged.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PlainTextRenderer getInstance()  
      void render​(java.lang.StringBuilder input, java.lang.StringBuilder output)
      Renders input text to an output.
      void render​(java.lang.String input, java.lang.StringBuilder output, java.lang.String styleName)
      Renders input text to an output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlainTextRenderer

        public PlainTextRenderer()
    • Method Detail

      • render

        public void render​(java.lang.String input,
                           java.lang.StringBuilder output,
                           java.lang.String styleName)
        Description copied from interface: TextRenderer
        Renders input text to an output.
        Specified by:
        render in interface TextRenderer
        Parameters:
        input - The input
        output - The output
        styleName - The style name to use to render the input on the output.
      • render

        public void render​(java.lang.StringBuilder input,
                           java.lang.StringBuilder output)
        Description copied from interface: TextRenderer
        Renders input text to an output.
        Specified by:
        render in interface TextRenderer
        Parameters:
        input - The input
        output - The output