Class PrettyPrinter


  • public class PrettyPrinter
    extends java.lang.Object
    This class represents an SVG source files pretty-printer.
    • Field Detail

      • scanner

        protected XMLScanner scanner
        The document scanner.
      • writer

        protected java.io.Writer writer
        The writer used to output the document.
      • errorHandler

        protected ErrorHandler errorHandler
        The error handler.
      • newline

        protected java.lang.String newline
        The newline characters.
      • format

        protected boolean format
        Whether the output must be formatted.
      • tabulationWidth

        protected int tabulationWidth
        The tabulation width.
      • documentWidth

        protected int documentWidth
        The document width.
      • doctypeOption

        protected int doctypeOption
        The doctype option.
      • publicId

        protected java.lang.String publicId
        The public id.
      • systemId

        protected java.lang.String systemId
        The system id.
      • xmlDeclaration

        protected java.lang.String xmlDeclaration
        The XML declaration.
      • type

        protected int type
        The type of the current lexical unit.
    • Constructor Detail

      • PrettyPrinter

        public PrettyPrinter()