public static class TransformerFactoryConfigurer.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TransformerFactoryConfigurer |
build()
Builds a TransformerFactoryConfigurer.
|
TransformerFactoryConfigurer.Builder |
withAttribute(String key,
Object value)
Configures the factory with the given attribute, causes an
exception in
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory) if the attribute is not
supported. |
TransformerFactoryConfigurer.Builder |
withDTDLoadingDisabled()
Configures the factory to not load any external DTDs.
|
TransformerFactoryConfigurer.Builder |
withExternalStylesheetLoadingDisabled()
Configures the factory to not parse any DTDs.
|
TransformerFactoryConfigurer.Builder |
withFeature(String key,
boolean value)
Configures the factory with the given feature, causes an
exception in
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory) if the feature is not
supported. |
TransformerFactoryConfigurer.Builder |
withSafeAttribute(String key,
Object value)
Configures the factory with the given attribute if it is
supported.
|
TransformerFactoryConfigurer.Builder |
withSafeFeature(String key,
boolean value)
Configures the factory with the given feature if it is
supported.
|
public TransformerFactoryConfigurer build()
public TransformerFactoryConfigurer.Builder withAttribute(String key, Object value)
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the attribute is not
supported.public TransformerFactoryConfigurer.Builder withSafeAttribute(String key, Object value)
public TransformerFactoryConfigurer.Builder withFeature(String key, boolean value)
TransformerFactoryConfigurer.configure(javax.xml.transform.TransformerFactory)
if the feature is not
supported.public TransformerFactoryConfigurer.Builder withSafeFeature(String key, boolean value)
public TransformerFactoryConfigurer.Builder withDTDLoadingDisabled()
public TransformerFactoryConfigurer.Builder withExternalStylesheetLoadingDisabled()
Copyright © 2001–2018 XMLUnit. All rights reserved.