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.
-
Interface Summary Interface Description CompletelyCloseable -
Class Summary Class Description AsciiReader Optimized Reader that reads ascii content from an input stream.BaseInputSource Abstract base class that implements shared functionality that all currentWstxInputSource
implementations Woodstox includes need.BranchingReaderSource Specialized input source that can "branch" input it reads; essentially both giving out read data AND also writing it out to a Writer.BufferRecycler This is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.CharArraySource Input source that reads input from a static char array, usually used when expanding internal entities.CharsetNames Simple utility class that normalizes given character input character set names into canonical (within Woodstox, anyways) names.DefaultInputResolver Static utility class that implements the entity (external DTD subset, external parsed entities) resolution logics.EBCDICCodec This is a container class for EBCDIC code page(s) that we need to properly bootstrap EBCDIC encoded xml documents.InputBootstrapper Abstract base class that defines common API used with both stream and reader-based input sources.InputSourceFactory Factory class that creates instances ofWstxInputSource
to allow reading input from various sources.ISOLatinReader Optimized Reader that reads ISO-Latin (aka ISO-8859-1) content from an input stream.MergedReader SimpleReader
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.MergedStream SimpleInputStream
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.ReaderBootstrapper 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.ReaderSource Input source that reads input via a Reader.StreamBootstrapper 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).SystemId Helper class that is used to defer construction ofURL
to help with cases where real URL is not actually needed, and incoming System Id may not even resolve properly.TextEscaper UTF32Reader Since JDK does not come with UTF-32/UCS-4, let's implement a simple decoder to use.UTF8Reader Optimized Reader that reads UTF-8 encoded content from an input stream.UTF8Writer Specialized buffering UTF-8 writer used byXmlWriter
.WstxInputData Base class used by readers (specifically, byStreamScanner
, and its sub-classes) to encapsulate input buffer portion of the class.WstxInputLocation Basic implementation ofLocation
, used by Wstx readers.WstxInputSource Interface that defines API actual parsers (stream readers) can use to read input from various input sources.