Top Description Interfaces Classes
[default module]

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

Modifier and TypeInterface and Description
public interface

Class Summary

Modifier and TypeClass and Description
public class
AsciiReader

Optimized Reader that reads ascii content from an input stream.

public abstract class
BaseInputSource

Abstract base class that implements shared functionality that all current WstxInputSource implementations Woodstox includes need.

pack-priv abstract class
BaseReader

Simple basic class for optimized Readers Woodstox has; implements "cookie-cutter" methods that are used by all actual implementations.

public class
BranchingReaderSource

Specialized input source that can "branch" input it reads; essentially both giving out read data AND also writing it out to a Writer.

public class
BufferRecycler

This is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.

public class
CharArraySource

Input source that reads input from a static char array, usually used when expanding internal entities.

public class
CharsetNames

Simple utility class that normalizes given character input character set names into canonical (within Woodstox, anyways) names.

public class
DefaultInputResolver

Static utility class that implements the entity (external DTD subset, external parsed entities) resolution logics.

public class
EBCDICCodec

This is a container class for EBCDIC code page(s) that we need to properly bootstrap EBCDIC encoded xml documents.

public abstract class
InputBootstrapper

Abstract base class that defines common API used with both stream and reader-based input sources.

public class
InputSourceFactory

Factory class that creates instances of WstxInputSource to allow reading input from various sources.

public class
ISOLatinReader

Optimized Reader that reads ISO-Latin (aka ISO-8859-1) content from an input stream.

public class
MergedReader

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.

public class
MergedStream

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.

public class
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.

public class
ReaderSource

Input source that reads input via a Reader.

public class
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).

public class
SystemId

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.

public class
public class
UTF32Reader

Since JDK does not come with UTF-32/UCS-4, let's implement a simple decoder to use.

public class
UTF8Reader

Optimized Reader that reads UTF-8 encoded content from an input stream.

public class
UTF8Writer

Specialized buffering UTF-8 writer used by com.ctc.wstx.sw.XmlWriter.

public class
WstxInputData

Base class used by readers (specifically, by com.ctc.wstx.sr.StreamScanner, and its sub-classes) to encapsulate input buffer portion of the class.

public class
WstxInputLocation

Basic implementation of Location, used by Wstx readers.

public abstract class
WstxInputSource

Interface that defines API actual parsers (stream readers) can use to read input from various input sources.