public interface StAXParserConfiguration
Object.equals(Object)
and Object.hashCode()
.
StAXWriterConfiguration
Modifier and Type | Field and Description |
---|---|
static StAXParserConfiguration |
DEFAULT
The default configuration.
|
static StAXParserConfiguration |
NON_COALESCING
Configuration that sets up the parser in non coalescing mode.
|
static StAXParserConfiguration |
PRESERVE_CDATA_SECTIONS
Configuration that sets up the parser to preserve CDATA sections.
|
static StAXParserConfiguration |
SOAP
Configuration suitable for SOAP messages.
|
static StAXParserConfiguration |
STANDALONE
Configuration that forces the parser to process the XML document as
standalone.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.XMLInputFactory |
configure(javax.xml.stream.XMLInputFactory factory,
StAXDialect dialect)
Apply the configuration to the given factory.
|
static final StAXParserConfiguration DEFAULT
static final StAXParserConfiguration STANDALONE
static final StAXParserConfiguration NON_COALESCING
static final StAXParserConfiguration PRESERVE_CDATA_SECTIONS
static final StAXParserConfiguration SOAP
STANDALONE
configuration and this
configuration is that with STANDALONE
, the parser silently
ignores references to external entities but doesn't throw any exception.javax.xml.stream.XMLInputFactory configure(javax.xml.stream.XMLInputFactory factory, StAXDialect dialect)
XMLStreamReader
instances created by the
factory.factory
- the factory to configuredialect
- The dialect of the StAX implementation as detected by
StAXDialectDetector
. The implementation may use this
information to configure implementation specific settings.Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.