| Modifier and Type | Field and Description |
|---|---|
| public static final int | CFG_ALLOW_XML11_ESCAPED_CHARS_IN_XML10
If true, the XML parser will allow XML 1.1 escaped chars in XML 1.0 file. |
| public static final int | CFG_AUTO_CLOSE_INPUT
Property that enables/disables stream reader to close the underlying input source, either when it is asked to (.close() is called), or when it doesn't need it any more (reaching EOF, hitting an unrecoverable exception). |
| public static final int | CFG_CACHE_DTDS
If true, input factory is allowed cache parsed external DTD subsets, potentially speeding up things for which DTDs are needed for: entity substitution, attribute defaulting, and of course DTD-based validation. |
| public static final int | CFG_CACHE_DTDS_BY_PUBLIC_ID
If true, key used for matching DTD subsets can be the public id, if false, only system id can be used. |
| public static final int | |
| public static final int | CFG_INTERN_NAMES
If true, will guarantee that all names (attribute/element local names have been intern()ed. If false, this is not guaranteed although implementation may still choose to do it. |
| public static final int | CFG_INTERN_NS_URIS
It true, will call intern() on all namespace URIs parsed; otherwise will just use 'regular' Strings created from parsed contents. |
| public static final int | CFG_JAXP_FEATURE_SECURE_PROCESSING
Flag that matches pseudo-setting |
| public static final int | CFG_LAZY_PARSING
If true, input factory can defer parsing of nodes until data is actually needed; if false, it has to read all the data in right away when next type is requested. |
| public static final int | CFG_NAMESPACE_AWARE
If true, parser will handle namespaces according to XML specs; if false, will only pass them as part of element/attribute name value information. |
| public static final int | |
| public static final int | CFG_PRESERVE_LOCATION
Property that determines whether Event objects created will
contain (accurate) |
| public static final int | CFG_REPLACE_ENTITY_REFS
Flag that enables automatic replacement of internal entities |
| public static final int | CFG_REPORT_CDATA
If true, parser will accurately report CDATA event as such (unless coalescing); otherwise will always report them as CHARACTERS independent of coalescing settings. |
| public static final int | CFG_REPORT_PROLOG_WS
If true, parser will report (ignorable) white space events in prolog and epilog; if false, it will silently ignore them. |
| public static final int | CFG_SUPPORT_DTD
Whether DTD handling is enabled or disabled; disabling means both internal and external subsets will just be skipped unprocessed. |
| public static final int | CFG_SUPPORT_DTDPP
If true, DTD-parser will recognize DTD++ features, and the validator will also use any such information found from DTD when DTD validation is enabled. |
| public static final int | CFG_SUPPORT_EXTERNAL_ENTITIES
Flag that enables support for expanding external entities. |
| public static final int | CFG_TREAT_CHAR_REFS_AS_ENTS
If true, the XML parser will treat character references as entities. |
| public static final int | CFG_VALIDATE_AGAINST_DTD
Not yet (fully) supported; added as the placeholder |
| public static final int | CFG_XMLID_TYPING
If true, xml:id attribute type assignment and matching checks will be done as per Xml:id specification. |
| public static final int | CFG_XMLID_UNIQ_CHECKS
If true, xml:id attribute uniqueness constraints are enforced, even if not validating against DTD otherwise. |
| CFG_ALLOW_XML11_ESCAPED_CHARS_IN_XML10 | back to summary |
|---|---|
| public static final int CFG_ALLOW_XML11_ESCAPED_CHARS_IN_XML10 If true, the XML parser will allow XML 1.1 escaped chars in XML 1.0 file.
| |
| CFG_AUTO_CLOSE_INPUT | back to summary |
|---|---|
| public static final int CFG_AUTO_CLOSE_INPUT Property that enables/disables stream reader to close the underlying input source, either when it is asked to (.close() is called), or when it doesn't need it any more (reaching EOF, hitting an unrecoverable exception). As per Stax 1.0 specification, automatic closing is NOT enabled by default; except if the caller has no access to the target (i.e. when factory created it) | |
| CFG_CACHE_DTDS | back to summary |
|---|---|
| public static final int CFG_CACHE_DTDS If true, input factory is allowed cache parsed external DTD subsets, potentially speeding up things for which DTDs are needed for: entity substitution, attribute defaulting, and of course DTD-based validation. | |
| CFG_CACHE_DTDS_BY_PUBLIC_ID | back to summary |
|---|---|
| public static final int CFG_CACHE_DTDS_BY_PUBLIC_ID If true, key used for matching DTD subsets can be the public id, if false, only system id can be used. | |
| CFG_COALESCE_TEXT | back to summary |
|---|---|
| public static final int CFG_COALESCE_TEXT | |
| CFG_INTERN_NAMES | back to summary |
|---|---|
| public static final int CFG_INTERN_NAMES If true, will guarantee that all names (attribute/element local names have been intern()ed. If false, this is not guaranteed although implementation may still choose to do it. | |
| CFG_INTERN_NS_URIS | back to summary |
|---|---|
| public static final int CFG_INTERN_NS_URIS It true, will call intern() on all namespace URIs parsed; otherwise will just use 'regular' Strings created from parsed contents. Interning makes namespace-based access faster, but has initial overhead of intern() call. | |
| CFG_JAXP_FEATURE_SECURE_PROCESSING | back to summary |
|---|---|
| public static final int CFG_JAXP_FEATURE_SECURE_PROCESSING Flag that matches pseudo-setting
| |
| CFG_LAZY_PARSING | back to summary |
|---|---|
| public static final int CFG_LAZY_PARSING If true, input factory can defer parsing of nodes until data is actually needed; if false, it has to read all the data in right away when next type is requested. Setting it to true is good for performance, in the cases where some of the nodes (like comments, processing instructions, or whole subtrees) are ignored. Otherwise setting will not make much of a difference. Downside is that error reporting is also done 'lazily'; not right away when getting the next even type but when either accessing data, or skipping it. | |
| CFG_NAMESPACE_AWARE | back to summary |
|---|---|
| public static final int CFG_NAMESPACE_AWARE If true, parser will handle namespaces according to XML specs; if false, will only pass them as part of element/attribute name value information. | |
| CFG_NORMALIZE_LFS | back to summary |
|---|---|
| public static final int CFG_NORMALIZE_LFS | |
| CFG_PRESERVE_LOCATION | back to summary |
|---|---|
| public static final int CFG_PRESERVE_LOCATION Property that determines whether Event objects created will
contain (accurate) Note, however, that the underlying parser will still keep track of location information for error reporting purposes; it's only Event objects that are affected. | |
| CFG_REPLACE_ENTITY_REFS | back to summary |
|---|---|
| public static final int CFG_REPLACE_ENTITY_REFS Flag that enables automatic replacement of internal entities | |
| CFG_REPORT_CDATA | back to summary |
|---|---|
| public static final int CFG_REPORT_CDATA If true, parser will accurately report CDATA event as such (unless coalescing); otherwise will always report them as CHARACTERS independent of coalescing settings. | |
| CFG_REPORT_PROLOG_WS | back to summary |
|---|---|
| public static final int CFG_REPORT_PROLOG_WS If true, parser will report (ignorable) white space events in prolog and epilog; if false, it will silently ignore them. | |
| CFG_SUPPORT_DTD | back to summary |
|---|---|
| public static final int CFG_SUPPORT_DTD Whether DTD handling is enabled or disabled; disabling means both internal and external subsets will just be skipped unprocessed. | |
| CFG_SUPPORT_DTDPP | back to summary |
|---|---|
| public static final int CFG_SUPPORT_DTDPP If true, DTD-parser will recognize DTD++ features, and the validator will also use any such information found from DTD when DTD validation is enabled. | |
| CFG_SUPPORT_EXTERNAL_ENTITIES | back to summary |
|---|---|
| public static final int CFG_SUPPORT_EXTERNAL_ENTITIES Flag that enables support for expanding external entities. Woodstox
pretty much ignores the setting, since effectively it is irrelevant,
as | |
| CFG_TREAT_CHAR_REFS_AS_ENTS | back to summary |
|---|---|
| public static final int CFG_TREAT_CHAR_REFS_AS_ENTS If true, the XML parser will treat character references as entities. | |
| CFG_VALIDATE_AGAINST_DTD | back to summary |
|---|---|
| public static final int CFG_VALIDATE_AGAINST_DTD Not yet (fully) supported; added as the placeholder | |
| CFG_XMLID_TYPING | back to summary |
|---|---|
| public static final int CFG_XMLID_TYPING If true, xml:id attribute type assignment and matching checks will be done as per Xml:id specification. Needs to be enabled for xml:id uniqueness checks to function properly | |
| CFG_XMLID_UNIQ_CHECKS | back to summary |
|---|---|
| public static final int CFG_XMLID_UNIQ_CHECKS If true, xml:id attribute uniqueness constraints are enforced, even if not validating against DTD otherwise. | |