Uses of Class
com.ctc.wstx.api.ReaderConfig
Packages that use ReaderConfig
Package
Description
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.*).
Package that contains Woodstox classes that implement DTD handling.
Package contains internal entity object implementations, which are used
by stream reader classes, but parsed by dtd functionality.
Low-level classes that are used to abstract most details of stream I/O
access from actual parsing classes.
Contains Woodstox SAX implementation.
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
This package contains miscellaneous classes that implement Woodstox.
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
-
Uses of ReaderConfig in com.ctc.wstx.api
Methods in com.ctc.wstx.api that return ReaderConfigModifier and TypeMethodDescriptionstatic ReaderConfig
ReaderConfig.createFullDefaults()
static ReaderConfig
ReaderConfig.createJ2MEDefaults()
ReaderConfig.createNonShared
(SymbolTable sym) Constructors in com.ctc.wstx.api with parameters of type ReaderConfigModifierConstructorDescriptionprivate
ReaderConfig
(ReaderConfig base, boolean j2meSubset, SymbolTable symbols, int configFlags, int configFlagMods, int inputBufLen, int minTextSegmentLen) -
Uses of ReaderConfig in com.ctc.wstx.dom
Fields in com.ctc.wstx.dom declared as ReaderConfigMethods in com.ctc.wstx.dom with parameters of type ReaderConfigModifier and TypeMethodDescriptionstatic WstxDOMWrappingReader
WstxDOMWrappingReader.createFrom
(DOMSource src, ReaderConfig cfg) Constructors in com.ctc.wstx.dom with parameters of type ReaderConfig -
Uses of ReaderConfig in com.ctc.wstx.dtd
Fields in com.ctc.wstx.dtd declared as ReaderConfigModifier and TypeFieldDescriptionprotected final ReaderConfig
DTDSchemaFactory.mReaderConfig
This configuration object is used (instead of a more specific one) since the actual DTD reader uses such configuration object.Methods in com.ctc.wstx.dtd that return ReaderConfigModifier and TypeMethodDescriptionprivate ReaderConfig
DTDSchemaFactory.createPrivateReaderConfig()
Methods in com.ctc.wstx.dtd with parameters of type ReaderConfigModifier and TypeMethodDescriptionstatic 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.Constructors in com.ctc.wstx.dtd with parameters of type ReaderConfigModifierConstructorDescriptionprivate
FullDTDReader
(WstxInputSource input, ReaderConfig cfg, boolean constructFully, int xmlVersion) Constructor used for reading/skipping internal subset.private
FullDTDReader
(WstxInputSource input, ReaderConfig cfg, boolean isExt, DTDSubset intSubset, boolean constructFully, int xmlVersion) Common initialization part of int/ext subset constructors.private
FullDTDReader
(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) Constructor used for reading external subset.private
MinimalDTDReader
(WstxInputSource input, ReaderConfig cfg) Constructor used for reading/skipping internal subset.protected
MinimalDTDReader
(WstxInputSource input, ReaderConfig cfg, boolean isExt) Common initialization part of int/ext subset constructors. -
Uses of ReaderConfig in com.ctc.wstx.ent
Methods in com.ctc.wstx.ent with parameters of type ReaderConfigModifier and TypeMethodDescriptionabstract 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.abstract WstxInputSource
ExtEntity.expand
(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) IntEntity.expand
(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) ParsedExtEntity.expand
(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) UnparsedExtEntity.expand
(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) -
Uses of ReaderConfig in com.ctc.wstx.io
Fields in com.ctc.wstx.io declared as ReaderConfigModifier and TypeFieldDescriptionprotected final ReaderConfig
BaseReader.mConfig
(package private) final ReaderConfig
MergedReader.mConfig
private final ReaderConfig
MergedStream.mConfig
(package private) final ReaderConfig
ReaderSource.mConfig
Methods in com.ctc.wstx.io with parameters of type ReaderConfigModifier and TypeMethodDescriptionabstract Reader
InputBootstrapper.bootstrapInput
(ReaderConfig cfg, boolean mainDoc, int xmlVersion) ReaderBootstrapper.bootstrapInput
(ReaderConfig cfg, boolean mainDoc, int xmlVersion) Method called to do actual bootstrapping.StreamBootstrapper.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 aWstxInputSource
from it.private static WstxInputSource
DefaultInputResolver.sourceFromIS
(WstxInputSource parent, ReaderConfig cfg, String refName, int xmlVersion, InputStream is, String pubId, String sysId) private static WstxInputSource
DefaultInputResolver.sourceFromR
(WstxInputSource parent, ReaderConfig cfg, String refName, int xmlVersion, Reader r, String pubId, String sysId) private static WstxInputSource
DefaultInputResolver.sourceFromSS
(WstxInputSource parent, ReaderConfig cfg, String refName, int xmlVersion, StreamSource ssrc) 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.private static WstxInputSource
DefaultInputResolver.sourceFromURL
(WstxInputSource parent, ReaderConfig cfg, String refName, int xmlVersion, URL url, String pubId) protected void
ReaderBootstrapper.verifyXmlEncoding
(ReaderConfig cfg) Constructors in com.ctc.wstx.io with parameters of type ReaderConfigModifierConstructorDescriptionAsciiReader
(ReaderConfig cfg, InputStream in, byte[] buf, int ptr, int len, boolean recycleBuffer) protected
BaseReader
(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) -
Uses of ReaderConfig in com.ctc.wstx.sax
Fields in com.ctc.wstx.sax declared as ReaderConfigMethods in com.ctc.wstx.sax that return ReaderConfigModifier and TypeMethodDescriptionfinal ReaderConfig
WstxSAXParser.getStaxConfig()
Accessor used to allow configuring all standard Stax configuration settings that the underlying reader uses. -
Uses of ReaderConfig in com.ctc.wstx.sr
Fields in com.ctc.wstx.sr declared as ReaderConfigModifier and TypeFieldDescriptionprotected final ReaderConfig
InputElementStack.mConfig
protected final ReaderConfig
StreamScanner.mConfig
Copy of the configuration object passed by the factory.Methods in com.ctc.wstx.sr that return ReaderConfigMethods in com.ctc.wstx.sr with parameters of type ReaderConfigModifier and TypeMethodDescriptionprotected 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.Constructors in com.ctc.wstx.sr with parameters of type ReaderConfigModifierConstructorDescriptionprotected
AttributeCollector
(ReaderConfig cfg, boolean nsAware) protected
BasicStreamReader
(InputBootstrapper bs, BranchingReaderSource input, ReaderCreator owner, ReaderConfig cfg, InputElementStack elemStack, boolean forER) protected
InputElementStack
(ReaderConfig cfg, boolean nsAware) protected
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.protected
TypedStreamReader
(InputBootstrapper bs, BranchingReaderSource input, ReaderCreator owner, ReaderConfig cfg, InputElementStack elemStack, boolean forER) private
ValidatingStreamReader
(InputBootstrapper bs, BranchingReaderSource input, ReaderCreator owner, ReaderConfig cfg, InputElementStack elemStack, boolean forER) -
Uses of ReaderConfig in com.ctc.wstx.stax
Fields in com.ctc.wstx.stax declared as ReaderConfigModifier and TypeFieldDescriptionprotected final ReaderConfig
WstxInputFactory.mConfig
Current configurations for this factoryMethods in com.ctc.wstx.stax that return ReaderConfigModifier and TypeMethodDescriptionWstxInputFactory.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).WstxInputFactory.getConfig()
Methods in com.ctc.wstx.stax with parameters of type ReaderConfigModifier and TypeMethodDescriptionorg.codehaus.stax2.XMLStreamReader2
WstxInputFactory.createSR
(ReaderConfig cfg, SystemId systemId, InputBootstrapper bs, boolean forER, boolean autoCloseInput) private org.codehaus.stax2.XMLStreamReader2
WstxInputFactory.createSR
(ReaderConfig cfg, SystemId systemId, InputStream in, boolean forER, boolean autoCloseInput) 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.protected org.codehaus.stax2.XMLStreamReader2
WstxInputFactory.createSR
(ReaderConfig cfg, URL src, boolean forER, boolean autoCloseInput) private org.codehaus.stax2.XMLStreamReader2
WstxInputFactory.doCreateSR
(ReaderConfig cfg, SystemId systemId, InputBootstrapper bs, boolean forER, boolean autoCloseInput) Bottleneck method used for creating ALL full stream reader instances (via other createSR() methods and directly) -
Uses of ReaderConfig in com.ctc.wstx.util
Fields in com.ctc.wstx.util declared as ReaderConfigMethods in com.ctc.wstx.util with parameters of type ReaderConfigModifier and TypeMethodDescriptionstatic TextBuffer
TextBuffer.createRecyclableBuffer
(ReaderConfig cfg) Constructors in com.ctc.wstx.util with parameters of type ReaderConfig