Package org.xmlunit.util
Class TransformerFactoryConfigurer
java.lang.Object
org.xmlunit.util.TransformerFactoryConfigurer
Configures TransformerFactories.
- Since:
- XMLUnit 2.6.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for a TransformerFactoryConfigurer. -
Field Summary
Modifier and TypeFieldDescriptionstatic final TransformerFactoryConfigurer
The default instance which disables DTD loading but still allows loading of external stylesheets.static final TransformerFactoryConfigurer
The instance which disables DTD loading as well as loading of external stylesheets. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder for TransformerFactoryConfigurers.configure
(TransformerFactory factory) Applies the current configuration.
-
Field Details
-
Default
The default instance which disables DTD loading but still allows loading of external stylesheets. -
NoExternalAccess
The instance which disables DTD loading as well as loading of external stylesheets.
-
-
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 TransformerFactoryConfigurers.- Returns:
- a fresh builder
-