Class StreamScanner

All Implemented Interfaces:
XmlConsts, NamespaceContext, XMLStreamConstants
Direct Known Subclasses:
Utf8Scanner

public abstract class StreamScanner extends ByteBasedScanner
Base class for various byte stream based scanners (generally one for each type of encoding supported).
  • Field Details

    • _in

      protected InputStream _in
      Underlying InputStream to use for reading content.
    • _inputBuffer

      protected byte[] _inputBuffer
    • _charTypes

      protected final XmlCharTypes _charTypes
      This is a simple container object that is used to access the decoding tables for characters. Indirection is needed since we actually support multiple utf-8 compatible encodings, not just utf-8 itself.
    • _symbols

      protected final ByteBasedPNameTable _symbols
      For now, symbol table contains prefixed names. In future it is possible that they may be split into prefixes and local names?
    • _quadBuffer

      protected int[] _quadBuffer
      This buffer is used for name parsing. Will be expanded if/as needed; 32 ints can hold names 128 ascii chars long.
  • Constructor Details

  • Method Details