Class SaxDumper

java.lang.Object
eu.bandm.tools.util.xml.SaxDumper
All Implemented Interfaces:
ContentHandler

public class SaxDumper extends Object implements ContentHandler
A ContentHandler which dumps all sax events for debugging purpose.
  • Field Details

    • out

      protected final PrintStream out
      The target of the print output.
  • Constructor Details

    • SaxDumper

      public SaxDumper(@Opt @Opt PrintStream out)
      Constructor which sets the target of the print output or takes System.err in case of null.
    • SaxDumper

      public SaxDumper()
      Constructor which sets the target of the print output to System.errx.
  • Method Details