Package | Description |
---|---|
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
com.ctc.wstx.io |
Low-level classes that are used to abstract most details of stream I/O
access from actual parsing classes.
|
com.ctc.wstx.sr |
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
|
Modifier and Type | Class and Description |
---|---|
class |
FullDTDReader
Reader that reads in DTD information from internal or external subset.
|
class |
MinimalDTDReader
Minimal DTD reader implementation that only knows how to skip
internal DTD subsets.
|
Modifier and Type | Method and Description |
---|---|
static DTDSubset |
FullDTDReader.readInternalSubset(WstxInputData srcData,
WstxInputSource input,
ReaderConfig cfg,
boolean constructFully,
int xmlVersion)
Method called to read in the internal subset definition.
|
static void |
MinimalDTDReader.skipInternalSubset(WstxInputData srcData,
WstxInputSource input,
ReaderConfig cfg)
Method that just skims
through structure of internal subset, but without doing any sort
of validation, or parsing of contents.
|
Modifier and Type | Method and Description |
---|---|
void |
WstxInputData.copyBufferStateFrom(WstxInputData src)
Note: Only public due to sub-classes needing to call this on
base class instance from different package (confusing?)
|
protected abstract void |
WstxInputSource.doInitInputLocation(WstxInputData reader) |
protected void |
ReaderSource.doInitInputLocation(WstxInputData reader)
Input location is easy to set, as we'll start from the beginning
of a File.
|
protected void |
CharArraySource.doInitInputLocation(WstxInputData reader)
Unlike with reader source, we won't start from beginning of a file,
but usually from somewhere in the middle...
|
protected abstract void |
BaseInputSource.doInitInputLocation(WstxInputData reader) |
void |
WstxInputSource.initInputLocation(WstxInputData reader,
int currScopeId,
int entityDepth)
Method called by Reader when current input has changed to come
from this input source.
|
abstract int |
WstxInputSource.readInto(WstxInputData reader)
Method called to read at least one more char from input source, and
update input data appropriately.
|
int |
ReaderSource.readInto(WstxInputData reader) |
int |
CharArraySource.readInto(WstxInputData reader) |
int |
BranchingReaderSource.readInto(WstxInputData reader) |
abstract int |
BaseInputSource.readInto(WstxInputData reader) |
abstract boolean |
WstxInputSource.readMore(WstxInputData reader,
int minAmount)
Method called by reader when it has to have at least specified number
of consequtive input characters in its buffer, and it currently does
not have.
|
boolean |
ReaderSource.readMore(WstxInputData reader,
int minAmount) |
boolean |
CharArraySource.readMore(WstxInputData reader,
int minAmount) |
boolean |
BranchingReaderSource.readMore(WstxInputData reader,
int minAmount) |
abstract boolean |
BaseInputSource.readMore(WstxInputData reader,
int minAmount) |
abstract void |
WstxInputSource.restoreContext(WstxInputData reader)
Method Reader calls when this input source is resumed as the
current source.
|
void |
BaseInputSource.restoreContext(WstxInputData reader) |
abstract void |
WstxInputSource.saveContext(WstxInputData reader)
Method Reader calls when this input source is being stored, when
a nested input source gets used instead (due to entity expansion).
|
void |
BaseInputSource.saveContext(WstxInputData reader) |
Modifier and Type | Class and Description |
---|---|
class |
BasicStreamReader
Partial implementation of
XMLStreamReader2 consisting of
all functionality other than DTD-validation-specific parts, and
Typed Access API (Stax2 v3.0), which are implemented at
sub-classes. |
class |
StreamScanner
Abstract base class that defines some basic functionality that all
Woodstox reader classes (main XML reader, DTD reader) extend from.
|
class |
TypedStreamReader
Complete implementation of
XMLStreamReader2 ,
including Typed Access API (Stax2 v3.0) implementation. |
class |
ValidatingStreamReader
Implementation of
XMLStreamReader2
that builds on TypedStreamReader and adds full DTD-handling
including DTD validation |
Copyright © 2018 FasterXML. All rights reserved.