Class CompactHtmlSerializer


  • public class CompactHtmlSerializer
    extends HtmlSerializer

    Compact HTML serializer - creates resulting HTML by stripping whitespaces wherever possible.

    • Field Detail

      • openPreTags

        private int openPreTags
    • Constructor Detail

    • Method Detail

      • serialize

        protected void serialize​(TagNode tagNode,
                                 java.io.Writer writer)
                          throws java.io.IOException
        Specified by:
        serialize in class Serializer
        Throws:
        java.io.IOException