Package org.xmlunit.util
Class TransformerFactoryConfigurer.Builder
java.lang.Object
org.xmlunit.util.TransformerFactoryConfigurer.Builder
- Enclosing class:
TransformerFactoryConfigurer
Builder for a TransformerFactoryConfigurer.
- Since:
- XMLUnit 2.6.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a TransformerFactoryConfigurer.withAttribute
(String key, Object value) Configures the factory with the given attribute, causes an exception inTransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the attribute is not supported.Configures the factory to not load any external DTDs.Configures the factory to not parse any DTDs.withFeature
(String key, boolean value) Configures the factory with the given feature, causes an exception inTransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the feature is not supported.withSafeAttribute
(String key, Object value) Configures the factory with the given attribute if it is supported.withSafeFeature
(String key, boolean value) Configures the factory with the given feature if it is supported.
-
Field Details
-
attributes
-
safeAttributes
-
features
-
safeFeatures
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Builds a TransformerFactoryConfigurer. -
withAttribute
Configures the factory with the given attribute, causes an exception inTransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the attribute is not supported. -
withSafeAttribute
Configures the factory with the given attribute if it is supported. -
withFeature
Configures the factory with the given feature, causes an exception inTransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the feature is not supported. -
withSafeFeature
Configures the factory with the given feature if it is supported. -
withDTDLoadingDisabled
Configures the factory to not load any external DTDs. -
withExternalStylesheetLoadingDisabled
Configures the factory to not parse any DTDs.
-