Package eu.europa.esig.dss.jaxb
Class AbstractFactoryBuilder<F>
java.lang.Object
eu.europa.esig.dss.jaxb.AbstractFactoryBuilder<F>
- Direct Known Subclasses:
- SchemaFactoryBuilder,- TransformerFactoryBuilder,- ValidatorConfigurator
public abstract class AbstractFactoryBuilder<F> extends Object
- 
Constructor SummaryConstructors Constructor Description AbstractFactoryBuilder()
- 
Method SummaryModifier and Type Method Description AbstractFactoryBuilder<F>disableFeature(String feature)Disables a custom featureAbstractFactoryBuilder<F>enableFeature(String feature)Enables a custom featureAbstractFactoryBuilder<F>removeAttribute(String attribute)Removes the attribute from a list of attributes to setAbstractFactoryBuilder<F>setAttribute(String attribute, Object value)Sets a custom attribute.protected abstract voidsetSecurityAttribute(F factory, String attribute, Object value)Sets the attribute to the factoryprotected voidsetSecurityAttributes(F factory)Sets all attributes to the factoryvoidsetSecurityExceptionAlert(StatusAlert securityExceptionAlert)This method allows to configure a custom alert on security exception in the builderprotected abstract voidsetSecurityFeature(F factory, String feature, Boolean value)Sets the feature to the factoryprotected voidsetSecurityFeatures(F factory)Sets all features to the factory
- 
Constructor Details- 
AbstractFactoryBuilderpublic AbstractFactoryBuilder()
 
- 
- 
Method Details- 
setSecurityExceptionAlertThis method allows to configure a custom alert on security exception in the builder- Parameters:
- securityExceptionAlert-- StatusAlertto define
 
- 
enableFeatureEnables a custom feature- Parameters:
- feature-- Stringthe feature constraint
- Returns:
- this builder
 
- 
disableFeatureDisables a custom feature- Parameters:
- feature-- Stringthe feature constraint
- Returns:
- this builder
 
- 
setAttributeSets a custom attribute.
- 
removeAttributeRemoves the attribute from a list of attributes to set- Parameters:
- attribute-- Stringattribute to disable
- Returns:
- this builder
 
- 
setSecurityFeaturesSets all features to the factory
- 
setSecurityFeatureprotected abstract void setSecurityFeature(F factory, String feature, Boolean value) throws ExceptionSets the feature to the factory
- 
setSecurityAttributesSets all attributes to the factory
- 
setSecurityAttributeprotected abstract void setSecurityAttribute(F factory, String attribute, Object value) throws ExceptionSets the attribute to the factory
 
-