Class HtmlOutputter

    • Constructor Detail

      • HtmlOutputter

        public HtmlOutputter()
    • Method Detail

      • embedd

        public void embedd​(IOutputter.Context context,
                           IResult result,
                           Writer writer)
                    throws IOException
        Description copied from interface: IOutputter
        Add this result to the output.
        Specified by:
        embedd in interface IOutputter
        Parameters:
        context - the context, which controls how the output should be done
        result - the result to be formatted
        writer - where the formatted output should go
        Throws:
        IOException - if something went wrong writing this result
      • process

        public void process​(IOutputter.Context context,
                            IResult result,
                            Writer writer)
                     throws IOException
        Description copied from interface: IOutputter
        Write this result to the output, presuming the writer has just been opened.
        Specified by:
        process in interface IOutputter
        Parameters:
        context - the context, which controls how the output should be done
        result - the result to be formatted
        writer - where the formatted output should go
        Throws:
        IOException - if something went wrong writing this result