Class SAX3WriterXml

All Implemented Interfaces:
Closeable, AutoCloseable, ContentWriter, ContentHandler, LexicalHandler

public class SAX3WriterXml extends AbstractContentWriter
ContentWriterXml writes SAX content handler events to XML.
Version:
1.0 Apr 17, 2005
Author:
Willem Cazander
  • Constructor Details

    • SAX3WriterXml

      public SAX3WriterXml(Writer out, String encoding)
      Creates XmlWriter which prints to the Writer interface.
      Parameters:
      out - The writer to print the xml to.
    • SAX3WriterXml

      public SAX3WriterXml(Writer out)
      Creates XmlWriter which prints to the Writer interface.
      Parameters:
      out - The writer to print the xml to.
    • SAX3WriterXml

      public SAX3WriterXml(OutputStream out) throws UnsupportedEncodingException
      Creates XmlWriter which prints to the OutputStream interface.
      Parameters:
      out - The OutputStream to write to.
      Throws:
      UnsupportedEncodingException - Is thrown when UTF-8 can't we printed.
    • SAX3WriterXml

      public SAX3WriterXml(OutputStream out, String encoding) throws UnsupportedEncodingException
      Creates XmlWriter which prints to the OutputStream interface.
      Parameters:
      out - The OutputStream to write to.
      encoding - The OutputStream encoding.
      Throws:
      UnsupportedEncodingException - Is thrown when UTF-8 can't we printed.