Class HtmlOutputter

  • All Implemented Interfaces:
    IOutputter

    public class HtmlOutputter
    extends java.lang.Object
    implements IOutputter
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlOutputter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void embedd​(IOutputter.Context context, IResult result, java.io.Writer writer)
      Add this result to the output.
      void process​(IOutputter.Context context, IResult result, java.io.Writer writer)
      Write this result to the output, presuming the writer has just been opened.
      • Methods inherited from class java.lang.Object

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

      • HtmlOutputter

        public HtmlOutputter()
    • Method Detail

      • embedd

        public void embedd​(IOutputter.Context context,
                           IResult result,
                           java.io.Writer writer)
                    throws java.io.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:
        java.io.IOException - if something went wrong writing this result
      • process

        public void process​(IOutputter.Context context,
                            IResult result,
                            java.io.Writer writer)
                     throws java.io.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:
        java.io.IOException - if something went wrong writing this result