Package org.xmlunit.util
Class DocumentBuilderFactoryConfigurer
java.lang.Object
org.xmlunit.util.DocumentBuilderFactoryConfigurer
Configures DocumentBuilderFactories.
- Since:
- XMLUnit 2.6.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for a DocumentBuilderFactoryConfigurer. -
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentBuilderFactoryConfigurer
The default instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder for DocumentBuilderFactoryConfigurers.configure
(DocumentBuilderFactory factory) Applies the current configuration.
-
Field Details
-
Default
The default instance.
-
-
Method Details
-
configure
Applies the current configuration.- Parameters:
factory
- the factory to configure- Returns:
- the configured factory
- Throws:
ConfigurationException
- if any of the attributes or features set is not supported.
-
builder
Creates a builder for DocumentBuilderFactoryConfigurers.- Returns:
- a new builder
-