Class TagWriterUtil


  • public class TagWriterUtil
    extends java.lang.Object
    Some common TagWriter util methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      TagWriterUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void writeCData​(java.lang.Appendable appendable, java.lang.CharSequence value)  
      static void writeComment​(java.lang.Appendable appendable, java.lang.CharSequence comment)  
      static void writeConditionalComment​(java.lang.Appendable appendable, java.lang.CharSequence value, boolean isStartingTag, boolean downlevelHidden, boolean isHiddenEndTag)  
      static void writeDoctype​(java.lang.Appendable appendable, java.lang.CharSequence name, java.lang.CharSequence publicIdentifier, java.lang.CharSequence systemIdentifier)  
      static void writeXml​(java.lang.Appendable appendable, java.lang.CharSequence version, java.lang.CharSequence encoding, java.lang.CharSequence standalone)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TagWriterUtil

        public TagWriterUtil()
    • Method Detail

      • writeComment

        public static void writeComment​(java.lang.Appendable appendable,
                                        java.lang.CharSequence comment)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeConditionalComment

        public static void writeConditionalComment​(java.lang.Appendable appendable,
                                                   java.lang.CharSequence value,
                                                   boolean isStartingTag,
                                                   boolean downlevelHidden,
                                                   boolean isHiddenEndTag)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • writeCData

        public static void writeCData​(java.lang.Appendable appendable,
                                      java.lang.CharSequence value)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • writeDoctype

        public static void writeDoctype​(java.lang.Appendable appendable,
                                        java.lang.CharSequence name,
                                        java.lang.CharSequence publicIdentifier,
                                        java.lang.CharSequence systemIdentifier)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeXml

        public static void writeXml​(java.lang.Appendable appendable,
                                    java.lang.CharSequence version,
                                    java.lang.CharSequence encoding,
                                    java.lang.CharSequence standalone)
                             throws java.io.IOException
        Throws:
        java.io.IOException