Class TextSupporterTextRenderer

    • Constructor Detail

      • TextSupporterTextRenderer

        public TextSupporterTextRenderer()
    • Method Detail

      • handles

        public boolean handles​(Object obj)
        Checks whether the object is handled.
        Parameters:
        obj - the object to check
        Returns:
        true if handled
      • handles

        public boolean handles​(Class cls)
        Checks whether the class is handled.
        Parameters:
        cls - the class to check
        Returns:
        true if handled
      • doRender

        protected String doRender​(Object obj)
        Renders the object as text.
        Specified by:
        doRender in class AbstractTextRenderer
        Parameters:
        obj - the object to render
        Returns:
        the generated string or null if failed to render