|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StAXParserConfiguration
Defines a particular StAX parser configuration. An implementation of this interface must satisfy the following requirements:
Object.equals(Object)
and Object.hashCode()
.
StAXWriterConfiguration
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
XMLInputFactory |
configure(XMLInputFactory factory,
StAXDialect dialect)
Apply the configuration to the given factory. |
Field Detail |
---|
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.
StAXDialect.disallowDoctypeDecl(XMLInputFactory)
Method Detail |
---|
XMLInputFactory configure(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |