public class BambooWstxInputFactory
extends com.ctc.wstx.stax.WstxInputFactory
P_AUTO_CLOSE_INPUT, P_INTERN_NAMES, P_INTERN_NS_URIS, P_PRESERVE_LOCATION, P_REPORT_CDATA, P_REPORT_PROLOG_WHITESPACEALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTDCFG_AUTO_CLOSE_INPUT, CFG_CACHE_DTDS, CFG_CACHE_DTDS_BY_PUBLIC_ID, CFG_COALESCE_TEXT, CFG_INTERN_NS_URIS, CFG_LAZY_PARSING, CFG_NAMESPACE_AWARE, CFG_NORMALIZE_ATTR_VALUES, CFG_NORMALIZE_LFS, CFG_PRESERVE_LOCATION, CFG_REPLACE_ENTITY_REFS, CFG_REPORT_CDATA, CFG_REPORT_PROLOG_WS, CFG_SUPPORT_DTD, CFG_SUPPORT_DTDPP, CFG_SUPPORT_EXTERNAL_ENTITIES, CFG_VALIDATE_AGAINST_DTD, CFG_VALIDATE_TEXT_CHARS, CFG_XMLID_TYPING, CFG_XMLID_UNIQ_CHECKS| Constructor and Description |
|---|
BambooWstxInputFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.stax2.XMLStreamReader2 |
createSR(com.ctc.wstx.api.ReaderConfig cfg,
String systemId,
com.ctc.wstx.io.InputBootstrapper bs,
boolean forER,
boolean autoCloseInput)
Method that is eventually called to create a (full) stream read
instance.
|
protected org.codehaus.stax2.XMLStreamReader2 |
createSR(String systemId,
InputStream in,
String enc,
boolean forER,
boolean autoCloseInput) |
addCachedDTD, configureForConvenience, configureForLowMemUsage, configureForRoundTripping, configureForSpeed, configureForXmlConformance, createEventAllocator, createFilteredReader, createFilteredReader, createPrivateConfig, createSR, createSR, createSR, createSR, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLEventReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, createXMLStreamReader, findCachedDTD, getConfig, getEventAllocator, getProperty, getXMLReporter, getXMLResolver, isPropertySupported, setEventAllocator, setProperty, setXMLReporter, setXMLResolver, updateSymbolTablenewFactory, newFactory, newInstance, newInstanceprotected org.codehaus.stax2.XMLStreamReader2 createSR(String systemId, InputStream in, String enc, boolean forER, boolean autoCloseInput) throws XMLStreamException
createSR in class com.ctc.wstx.stax.WstxInputFactoryXMLStreamExceptionpublic org.codehaus.stax2.XMLStreamReader2 createSR(com.ctc.wstx.api.ReaderConfig cfg,
String systemId,
com.ctc.wstx.io.InputBootstrapper bs,
boolean forER,
boolean autoCloseInput)
throws XMLStreamException
Note: defined as public method because it needs to be called by SAX implementation.
createSR in class com.ctc.wstx.stax.WstxInputFactorysystemId - System id used for this reader (if any)bs - Bootstrapper to use for creating actual underlying
physical readerforER - Flag to indicate whether it will be used via
Event API (will affect some configuration settings), true if it
will be, false if not (or not known)autoCloseInput - Whether the underlying input source should be
actually closed when encountering EOF, or when close()
is called. Will be true for input sources that are automatically
managed by stream reader (input streams created for
URL and File arguments, or when
configuration settings indicate auto-closing is to be enabled
(the default value is false as per Stax 1.0 specs).XMLStreamExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.