Package | Description |
---|---|
com.ctc.wstx.api |
Package that contains subset of Woodstox classes that are considered to be
its public API (in addition to regular Stax 1.0 -- javax.xml.stream.* -- and
Stax2 -- org.codehaus.stax2.*).
|
com.ctc.wstx.dom | |
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
com.ctc.wstx.ent |
Package contains internal entity object implementations, which are used
by stream reader classes, but parsed by dtd functionality.
|
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.sax |
Contains Woodstox SAX implementation.
|
com.ctc.wstx.sr |
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
|
com.ctc.wstx.stax |
This package contains miscellaneous classes that implement Woodstox.
|
com.ctc.wstx.util |
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
|
Modifier and Type | Method and Description |
---|---|
static ReaderConfig |
ReaderConfig.createFullDefaults() |
static ReaderConfig |
ReaderConfig.createJ2MEDefaults() |
ReaderConfig |
ReaderConfig.createNonShared(SymbolTable sym) |
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
WstxDOMWrappingReader.mConfig |
Modifier and Type | Method and Description |
---|---|
static WstxDOMWrappingReader |
WstxDOMWrappingReader.createFrom(DOMSource src,
ReaderConfig cfg) |
Constructor and Description |
---|
WstxDOMWrappingReader(DOMSource src,
ReaderConfig cfg) |
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
DTDSchemaFactory.mReaderConfig
This configuration object is used (instead of a more specific one)
since the actual DTD reader uses such configuration object.
|
Modifier and Type | Method and Description |
---|---|
static DTDElement |
DTDElement.createDefined(ReaderConfig cfg,
Location loc,
PrefixedName name,
StructValidator val,
int allowedContent)
Method called to create an actual element definition, matching
an ELEMENT directive in a DTD subset.
|
static DTDElement |
DTDElement.createPlaceholder(ReaderConfig cfg,
Location loc,
PrefixedName name)
Method called to create a "placeholder" element definition, needed to
contain attribute definitions.
|
protected org.codehaus.stax2.validation.XMLValidationSchema |
DTDSchemaFactory.doCreateSchema(ReaderConfig rcfg,
InputBootstrapper bs,
String publicId,
String systemIdStr,
URL ctxt)
The main validator construction method, called by all externally
visible methods.
|
static DTDSubset |
FullDTDReader.readExternalSubset(WstxInputSource src,
ReaderConfig cfg,
DTDSubset intSubset,
boolean constructFully,
int xmlVersion)
Method called to read in the external subset definition.
|
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.
|
Constructor and Description |
---|
MinimalDTDReader(WstxInputSource input,
ReaderConfig cfg,
boolean isExt)
Common initialization part of int/ext subset constructors.
|
Modifier and Type | Method and Description |
---|---|
WstxInputSource |
UnparsedExtEntity.expand(WstxInputSource parent,
XMLResolver res,
ReaderConfig cfg,
int xmlVersion) |
WstxInputSource |
ParsedExtEntity.expand(WstxInputSource parent,
XMLResolver res,
ReaderConfig cfg,
int xmlVersion) |
WstxInputSource |
IntEntity.expand(WstxInputSource parent,
XMLResolver res,
ReaderConfig cfg,
int xmlVersion) |
abstract WstxInputSource |
ExtEntity.expand(WstxInputSource parent,
XMLResolver res,
ReaderConfig cfg,
int xmlVersion) |
abstract WstxInputSource |
EntityDecl.expand(WstxInputSource parent,
XMLResolver res,
ReaderConfig cfg,
int xmlVersion)
Method called to create the new input source through which expansion
value of the entity can be read.
|
Modifier and Type | Method and Description |
---|---|
Reader |
StreamBootstrapper.bootstrapInput(ReaderConfig cfg,
boolean mainDoc,
int xmlVersion) |
Reader |
ReaderBootstrapper.bootstrapInput(ReaderConfig cfg,
boolean mainDoc,
int xmlVersion)
Method called to do actual bootstrapping.
|
abstract Reader |
InputBootstrapper.bootstrapInput(ReaderConfig cfg,
boolean mainDoc,
int xmlVersion) |
static BranchingReaderSource |
InputSourceFactory.constructDocumentSource(ReaderConfig cfg,
InputBootstrapper bs,
String pubId,
SystemId sysId,
Reader r,
boolean realClose)
Factory method used for creating the main-level document reader
source.
|
static ReaderSource |
InputSourceFactory.constructEntitySource(ReaderConfig cfg,
WstxInputSource parent,
String entityName,
InputBootstrapper bs,
String pubId,
SystemId sysId,
int xmlVersion,
Reader r) |
static Reader |
DefaultInputResolver.constructOptimizedReader(ReaderConfig cfg,
InputStream in,
boolean isXml11,
String encoding) |
static WstxInputSource |
DefaultInputResolver.resolveEntity(WstxInputSource parent,
URL pathCtxt,
String entityName,
String publicId,
String systemId,
XMLResolver customResolver,
ReaderConfig cfg,
int xmlVersion)
Basic external resource resolver implementation; usable both with
DTD and entity resolution.
|
static WstxInputSource |
DefaultInputResolver.resolveEntityUsing(WstxInputSource refCtxt,
String entityName,
String publicId,
String systemId,
XMLResolver resolver,
ReaderConfig cfg,
int xmlVersion)
A very simple utility expansion method used generally when the
only way to resolve an entity is via passed resolver; and where
failing to resolve it is not fatal.
|
protected static WstxInputSource |
DefaultInputResolver.sourceFrom(WstxInputSource parent,
ReaderConfig cfg,
String refName,
int xmlVersion,
Object o)
Factory method that accepts various types of Objects, and tries to
create a
WstxInputSource from it. |
static WstxInputSource |
DefaultInputResolver.sourceFromString(WstxInputSource parent,
ReaderConfig cfg,
String refName,
int xmlVersion,
String refContent)
We have multiple ways to look at what would it mean to get a String
as the resolved result.
|
protected void |
ReaderBootstrapper.verifyXmlEncoding(ReaderConfig cfg) |
Constructor and Description |
---|
AsciiReader(ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer) |
BranchingReaderSource(ReaderConfig cfg,
String pubId,
SystemId sysId,
Reader r,
boolean realClose) |
ISOLatinReader(ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer) |
MergedReader(ReaderConfig cfg,
Reader in,
char[] buf,
int start,
int end) |
MergedStream(ReaderConfig cfg,
InputStream in,
byte[] buf,
int start,
int end) |
ReaderSource(ReaderConfig cfg,
WstxInputSource parent,
String fromEntity,
String pubId,
SystemId sysId,
Reader r,
boolean realClose) |
UTF32Reader(ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer,
boolean isBigEndian) |
UTF8Reader(ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer) |
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
WstxSAXParser.mConfig |
Modifier and Type | Method and Description |
---|---|
ReaderConfig |
WstxSAXParser.getStaxConfig()
Accessor used to allow configuring all standard Stax configuration
settings that the underlying reader uses.
|
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
StreamScanner.mConfig
Copy of the configuration object passed by the factory.
|
protected ReaderConfig |
InputElementStack.mConfig |
Modifier and Type | Method and Description |
---|---|
protected static InputElementStack |
BasicStreamReader.createElementStack(ReaderConfig cfg) |
static TypedStreamReader |
TypedStreamReader.createStreamReader(BranchingReaderSource input,
ReaderCreator owner,
ReaderConfig cfg,
InputBootstrapper bs,
boolean forER)
Factory method for constructing readers.
|
static ValidatingStreamReader |
ValidatingStreamReader.createValidatingStreamReader(BranchingReaderSource input,
ReaderCreator owner,
ReaderConfig cfg,
InputBootstrapper bs,
boolean forER)
Factory method for constructing readers.
|
Constructor and Description |
---|
AttributeCollector(ReaderConfig cfg,
boolean nsAware) |
BasicStreamReader(InputBootstrapper bs,
BranchingReaderSource input,
ReaderCreator owner,
ReaderConfig cfg,
InputElementStack elemStack,
boolean forER) |
InputElementStack(ReaderConfig cfg,
boolean nsAware) |
StreamScanner(WstxInputSource input,
ReaderConfig cfg,
XMLResolver res)
Constructor used when creating a complete new (main-level) reader that
does not share its input buffers or state with another reader.
|
TypedStreamReader(InputBootstrapper bs,
BranchingReaderSource input,
ReaderCreator owner,
ReaderConfig cfg,
InputElementStack elemStack,
boolean forER) |
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
WstxInputFactory.mConfig
Current configurations for this factory
|
Modifier and Type | Method and Description |
---|---|
ReaderConfig |
WstxInputFactory.createPrivateConfig()
Method called to construct a copy of the factory's configuration
object, such that two will be unlinked (changes to one are not
reflect in the other).
|
ReaderConfig |
WstxInputFactory.getConfig() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.stax2.XMLStreamReader2 |
WstxInputFactory.createSR(ReaderConfig cfg,
String systemId,
InputBootstrapper bs,
boolean forER,
boolean autoCloseInput)
Method that is eventually called to create a (full) stream read
instance.
|
org.codehaus.stax2.XMLStreamReader2 |
WstxInputFactory.createSR(ReaderConfig cfg,
SystemId systemId,
InputBootstrapper bs,
boolean forER,
boolean autoCloseInput) |
protected org.codehaus.stax2.XMLStreamReader2 |
WstxInputFactory.createSR(ReaderConfig cfg,
URL src,
boolean forER,
boolean autoCloseInput) |
Modifier and Type | Method and Description |
---|---|
static TextBuffer |
TextBuffer.createRecyclableBuffer(ReaderConfig cfg) |
Copyright © 2012–2015 FasterXML. All rights reserved.