Package com.ctc.wstx.io


package com.ctc.wstx.io
Low-level classes that are used to abstract most details of stream I/O access from actual parsing classes. Input source abstraction is used to allow nested input necessary for proper entity expansion functionality.
  • Class
    Description
    Optimized Reader that reads ascii content from an input stream.
    Abstract base class that implements shared functionality that all current WstxInputSource implementations Woodstox includes need.
    Simple basic class for optimized Readers Woodstox has; implements "cookie-cutter" methods that are used by all actual implementations.
    Specialized input source that can "branch" input it reads; essentially both giving out read data AND also writing it out to a Writer.
    This is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.
    Input source that reads input from a static char array, usually used when expanding internal entities.
    Simple utility class that normalizes given character input character set names into canonical (within Woodstox, anyways) names.
     
    Static utility class that implements the entity (external DTD subset, external parsed entities) resolution logics.
    This is a container class for EBCDIC code page(s) that we need to properly bootstrap EBCDIC encoded xml documents.
    Abstract base class that defines common API used with both stream and reader-based input sources.
    Factory class that creates instances of WstxInputSource to allow reading input from various sources.
    Optimized Reader that reads ISO-Latin (aka ISO-8859-1) content from an input stream.
    Simple Reader implementation that is used to "unwind" some data previously read from a Reader; so that as long as some of that data remains, it's returned; but as long as it's read, we'll just use data from the underlying original Reader.
    Simple InputStream implementation that is used to "unwind" some data previously read from an input stream; so that as long as some of that data remains, it's returned; but as long as it's read, we'll just use data from the underlying original stream.
    Input bootstrap class used when input comes from a Reader; in this case, encoding is already known, and thus encoding from XML declaration (if any) is only double-checked, not really used.
    Input source that reads input via a Reader.
    Input bootstrap class used with streams, when encoding is not known (when encoding is specified by application, a reader is constructed, and then reader-based bootstrapper is used).
    Helper class that is used to defer construction of URL to help with cases where real URL is not actually needed, and incoming System Id may not even resolve properly.
     
    Since JDK does not come with UTF-32/UCS-4, let's implement a simple decoder to use.
    Optimized Reader that reads UTF-8 encoded content from an input stream.
    Specialized buffering UTF-8 writer used by XmlWriter.
    Base class used by readers (specifically, by StreamScanner, and its sub-classes) to encapsulate input buffer portion of the class.
    Basic implementation of Location, used by Wstx readers.
    Interface that defines API actual parsers (stream readers) can use to read input from various input sources.