Package org.apache.axiom.om.util
Interface StAXWriterConfiguration
-
public interface StAXWriterConfigurationDeprecated.Defines a particular StAX writer configuration. An implementation of this interface must satisfy the following requirements:- It MUST be immutable.
- It MUST either be a singleton or properly implement
Object.equals(Object)andObject.hashCode().
- See Also:
StAXParserConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static StAXWriterConfigurationDEFAULTDeprecated.The default configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description XMLOutputFactoryconfigure(XMLOutputFactory factory, StAXDialect dialect)Deprecated.Apply the configuration to the given factory.
-
-
-
Field Detail
-
DEFAULT
static final StAXWriterConfiguration DEFAULT
Deprecated.The default configuration.
-
-
Method Detail
-
configure
XMLOutputFactory configure(XMLOutputFactory factory, StAXDialect dialect)
Deprecated.Apply the configuration to the given factory. The method MAY optionally wrap the factory.- Parameters:
factory- the factory to configuredialect- The dialect of the StAX implementation as detected byStAXDialectDetector. The implementation may use this information to configure implementation specific settings.- Returns:
- The configured factory. This may be the original factory (if the implementation only changes the factory properties), or a wrapper.
-
-