Class StringConstants


  • public class StringConstants
    extends java.lang.Object
    Contains constants representing some frequently used strings, either as a UnicodeString or in some cases as a byte array.
    • Field Detail

      • COMMENT_START

        public static final byte[] COMMENT_START
      • COMMENT_END

        public static final byte[] COMMENT_END
      • TWO_HYPHENS

        public static final byte[] TWO_HYPHENS
      • PI_START

        public static final byte[] PI_START
      • PI_END

        public static final byte[] PI_END
      • EMPTY_TAG_MIDDLE

        public static final byte[] EMPTY_TAG_MIDDLE
      • EMPTY_TAG_END

        public static final byte[] EMPTY_TAG_END
      • EMPTY_TAG_END_XHTML

        public static final byte[] EMPTY_TAG_END_XHTML
      • END_TAG_START

        public static final byte[] END_TAG_START
      • ESCAPE_LT

        public static final byte[] ESCAPE_LT
      • ESCAPE_GT

        public static final byte[] ESCAPE_GT
      • ESCAPE_AMP

        public static final byte[] ESCAPE_AMP
      • ESCAPE_NL

        public static final byte[] ESCAPE_NL
      • ESCAPE_CR

        public static final byte[] ESCAPE_CR
      • ESCAPE_TAB

        public static final byte[] ESCAPE_TAB
      • ESCAPE_QUOT

        public static final byte[] ESCAPE_QUOT
      • ESCAPE_APOS

        public static final byte[] ESCAPE_APOS
      • ESCAPE_NBSP

        public static final byte[] ESCAPE_NBSP
    • Constructor Detail

      • StringConstants

        public StringConstants()
    • Method Detail

      • bytes

        public static byte[] bytes​(java.lang.String s)