Class TypedStreamReader

All Implemented Interfaces:
InputConfigFlags, ParsingErrorMsgs, InputProblemReporter, StreamReaderImpl, XMLStreamConstants, XMLStreamReader, org.codehaus.stax2.DTDInfo, org.codehaus.stax2.LocationInfo, org.codehaus.stax2.typed.TypedXMLStreamReader, org.codehaus.stax2.validation.Validatable, org.codehaus.stax2.XMLStreamReader2
Direct Known Subclasses:
ValidatingStreamReader

public class TypedStreamReader extends BasicStreamReader
Complete implementation of XMLStreamReader2, including Typed Access API (Stax2 v3.0) implementation. Only functionality missing is DTD validation, which is provided by a specialized sub-class.
  • Field Details

    • MASK_TYPED_ACCESS_ARRAY

      protected static final int MASK_TYPED_ACCESS_ARRAY
      Mask of event types that are legal (starting) states to call Typed Access API from.
      See Also:
    • MASK_TYPED_ACCESS_BINARY

      protected static final int MASK_TYPED_ACCESS_BINARY
      See Also:
    • MIN_BINARY_CHUNK

      static final int MIN_BINARY_CHUNK
      Minimum length of text chunks to parse before base64 decoding. Will try to limit it to fit within regular result buffers.
      See Also:
    • _decoderFactory

      protected org.codehaus.stax2.ri.typed.ValueDecoderFactory _decoderFactory
      Factory used for constructing decoders we need for typed access
    • _base64Decoder

      protected org.codehaus.stax2.ri.typed.CharArrayBase64Decoder _base64Decoder
      Lazily-constructed decoder object for decoding base64 encoded element binary content.
  • Constructor Details

  • Method Details