Class PrettyPrinter

  • All Implemented Interfaces:
    ContentHandler

    public class PrettyPrinter
    extends Object
    implements ContentHandler
    INTERNAL: SAX document handler that writes pretty-printed XML to a Writer.
    • Field Detail

      • writer

        protected Writer writer
      • encoding

        protected String encoding
      • subelements

        protected boolean[] subelements
      • startline

        protected char[] startline
      • offset

        protected int offset
      • level

        protected int level
      • encodeCharsFrom

        protected int encodeCharsFrom
      • dropControlChars

        protected boolean dropControlChars