Uses of Class
com.ctc.wstx.api.ReaderConfig
-
Packages that use ReaderConfig 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. -
-
Uses of ReaderConfig in com.ctc.wstx.api
Methods in com.ctc.wstx.api that return ReaderConfig Modifier and Type Method Description static ReaderConfig
ReaderConfig. createFullDefaults()
static ReaderConfig
ReaderConfig. createJ2MEDefaults()
ReaderConfig
ReaderConfig. createNonShared(SymbolTable sym)
-
Uses of ReaderConfig in com.ctc.wstx.dom
Fields in com.ctc.wstx.dom declared as ReaderConfig Modifier and Type Field Description protected ReaderConfig
WstxDOMWrappingReader. mConfig
Methods in com.ctc.wstx.dom with parameters of type ReaderConfig Modifier and Type Method Description static WstxDOMWrappingReader
WstxDOMWrappingReader. createFrom(DOMSource src, ReaderConfig cfg)
Constructors in com.ctc.wstx.dom with parameters of type ReaderConfig Constructor Description WstxDOMWrappingReader(DOMSource src, ReaderConfig cfg)
-
Uses of ReaderConfig in com.ctc.wstx.dtd
Fields in com.ctc.wstx.dtd declared as ReaderConfig Modifier and Type Field 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.Methods in com.ctc.wstx.dtd with parameters of type ReaderConfig Modifier and Type Method 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.Constructors in com.ctc.wstx.dtd with parameters of type ReaderConfig Constructor Description 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 ReaderConfig Modifier and Type Method Description 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.abstract WstxInputSource
ExtEntity. expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion)
WstxInputSource
IntEntity. expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion)
WstxInputSource
ParsedExtEntity. expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion)
WstxInputSource
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 ReaderConfig Modifier and Type Field Description protected ReaderConfig
BaseReader. mConfig
protected ReaderConfig
BaseReader. mConfig
protected ReaderConfig
BaseReader. mConfig
protected ReaderConfig
BaseReader. mConfig
Methods in com.ctc.wstx.io with parameters of type ReaderConfig Modifier and Type Method Description abstract Reader
InputBootstrapper. bootstrapInput(ReaderConfig cfg, boolean mainDoc, int xmlVersion)
Reader
ReaderBootstrapper. bootstrapInput(ReaderConfig cfg, boolean mainDoc, int xmlVersion)
Method called to do actual bootstrapping.Reader
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.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)
Constructors in com.ctc.wstx.io with parameters of type ReaderConfig Constructor 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)
-
Uses of ReaderConfig in com.ctc.wstx.sax
Fields in com.ctc.wstx.sax declared as ReaderConfig Modifier and Type Field Description protected ReaderConfig
WstxSAXParser. mConfig
Methods in com.ctc.wstx.sax that return ReaderConfig Modifier and Type Method Description 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 ReaderConfig Modifier and Type Field Description protected ReaderConfig
InputElementStack. mConfig
protected ReaderConfig
StreamScanner. mConfig
Copy of the configuration object passed by the factory.Methods in com.ctc.wstx.sr that return ReaderConfig Modifier and Type Method Description ReaderConfig
StreamScanner. getConfig()
Methods in com.ctc.wstx.sr with parameters of type ReaderConfig Modifier and Type Method 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.Constructors in com.ctc.wstx.sr with parameters of type ReaderConfig Constructor 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)
-
Uses of ReaderConfig in com.ctc.wstx.stax
Fields in com.ctc.wstx.stax declared as ReaderConfig Modifier and Type Field Description protected ReaderConfig
WstxInputFactory. mConfig
Current configurations for this factoryMethods in com.ctc.wstx.stax that return ReaderConfig Modifier and Type Method 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()
Methods in com.ctc.wstx.stax with parameters of type ReaderConfig Modifier and Type Method Description org.codehaus.stax2.XMLStreamReader2
WstxInputFactory. createSR(ReaderConfig cfg, SystemId systemId, InputBootstrapper bs, 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)
-
Uses of ReaderConfig in com.ctc.wstx.util
Methods in com.ctc.wstx.util with parameters of type ReaderConfig Modifier and Type Method Description static TextBuffer
TextBuffer. createRecyclableBuffer(ReaderConfig cfg)
-