Package org.w3c.tidy

Class OutJavaImpl

  • All Implemented Interfaces:
    Out

    public class OutJavaImpl
    extends Object
    implements Out
    Output implementation using java writers.
    Version:
    $Revision$ ($Author$)
    Author:
    Fabrizio Giustina
    • Constructor Detail

      • OutJavaImpl

        protected OutJavaImpl​(Configuration configuration,
                              Writer out)
        Constructor.
        Parameters:
        configuration - actual configuration instance (needed for newline configuration)
        out - Writer
    • Method Detail

      • outc

        public void outc​(int c)
        Description copied from interface: Out
        writes an char.
        Specified by:
        outc in interface Out
        Parameters:
        c - char to write
        See Also:
        Out.outc(int)
      • outc

        public void outc​(byte c)
        Description copied from interface: Out
        writes a byte.
        Specified by:
        outc in interface Out
        Parameters:
        c - byte to write
        See Also:
        Out.outc(byte)
      • newline

        public void newline()
        Description copied from interface: Out
        writes a newline.
        Specified by:
        newline in interface Out
        See Also:
        Out.newline()
      • flush

        public void flush()
        Description copied from interface: Out
        Flush the stream.
        Specified by:
        flush in interface Out
        See Also:
        Out.flush()