Class CompactPrinter

    • Method Detail

      • createVisitor

        protected CssTreeVisitor createVisitor​(VisitController visitController,
                                               CodeBuffer buffer)
        Description copied from class: CodePrinter
        Constructs the visitor required by the subclass. This visitor's enter* methods will be called after the source map generator's startSourceMapping method and before its endSourceMapping method.
        Specified by:
        createVisitor in class CodePrinter
      • getCompactPrintedString

        public java.lang.String getCompactPrintedString()
        Returns the CSS compacted printed output.
      • runPass

        public void runPass()
      • printCompactly

        public static java.lang.String printCompactly​(CssNode n)
      • printCompactly

        public static java.lang.String printCompactly​(CssTree t)