Interface TextRenderer

    • Method Detail

      • handles

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

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

        String render​(Object obj)
        Renders the object as text.
        Parameters:
        obj - the object to render
        Returns:
        the generated string or null if failed to render