WstxWriterNamespaceAware

Woodstox XMLStreamWriter Config

StAX2 (1.0) XMLOutputFactory2#P_NAMESPACE_AWARE

If set to true, writer does proper namespace handling (and if enabled, validation and/or automatic prefix generation), and all namespace-related arguments (prefix, namespace URI) are used. Local names for elements and attributes are not to contain prefixes (this may or may not be enforced depending on validation checkings).

If set to false, writer ignores all namespace-related arguments.

Note that non-namespace-aware writer instances use a simpler implementation, and may be slightly faster than their namespace-aware counterparts; even if latter is used only with default (empty / missing) namespace.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.