Class XmlCharTypes

  • Direct Known Subclasses:
    InputCharTypes, OutputCharTypes

    public class XmlCharTypes
    extends java.lang.Object
    This is a simple container class, mostly used to encapsulate details of character typing out of parser/scanner/writer classes, while still making int arrays auto-generated only if needed (esp. for encodings never needed, which may be the case for ascii etc).
    • Constructor Detail

      • XmlCharTypes

        public XmlCharTypes()
      • XmlCharTypes

        public XmlCharTypes​(int size)
    • Method Detail

      • fillInLatin1Chars

        public static void fillInLatin1Chars​(int[] textChars,
                                             int[] attrChars,
                                             int[] nameChars,
                                             int[] dtdChars,
                                             int[] otherChars)
      • fillInCommonTextRange

        private static void fillInCommonTextRange​(int[] arr)
      • fillIn8BitNameRange

        public static void fillIn8BitNameRange​(int[] arr)
      • fillIn8BitTextRange

        protected static void fillIn8BitTextRange​(int[] arr)
        Called to set state of 7-bit chars in text content
      • fillIn8BitAttrRange

        protected static void fillIn8BitAttrRange​(int[] arr)
        Called to set state of 7-bit chars in attribute values
      • fillIn8BitDtdRange

        protected static void fillIn8BitDtdRange​(int[] arr)