public abstract class BaseConfigurationState extends Object implements ConfigurationState
ConfigurationState
.Constructor and Description |
---|
BaseConfigurationState(javax.validation.ConstraintValidatorFactory constraintValidatorFactory,
MessageInterpolator messageInterpolator,
Map<String,String> properties,
javax.validation.TraversableResolver traversableResolver) |
Modifier and Type | Method and Description |
---|---|
javax.validation.ConstraintValidatorFactory |
getConstraintValidatorFactory()
Returns the constraint validator factory of this configuration.
|
MessageInterpolator |
getMessageInterpolator()
Returns the message interpolator of this configuration.
|
Map<String,String> |
getProperties()
Returns a map of non type-safe custom properties.
|
javax.validation.TraversableResolver |
getTraversableResolver()
Returns the traversable resolver for this configuration.
|
boolean |
isIgnoreXmlConfiguration()
Returns true if Configuration.ignoreXMLConfiguration() has been called
In this case, the ValidatorFactory must ignore META-INF/validation.xml
|
getMappingStreams
public BaseConfigurationState(javax.validation.ConstraintValidatorFactory constraintValidatorFactory, MessageInterpolator messageInterpolator, Map<String,String> properties, javax.validation.TraversableResolver traversableResolver)
public javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
ConfigurationState
ConstraintValidatorFactory
implementation is defined in the following
decreasing priority:
Configuration
programmatic APInull
if undefined.getConstraintValidatorFactory
in interface ConfigurationState
null
if not definedpublic MessageInterpolator getMessageInterpolator()
ConfigurationState
Configuration
programmatic APInull
if undefined.getMessageInterpolator
in interface ConfigurationState
public Map<String,String> getProperties()
ConfigurationState
getProperties
in interface ConfigurationState
public javax.validation.TraversableResolver getTraversableResolver()
ConfigurationState
TraversableResolver
is defined in the following decreasing priority:
Configuration
programmatic APInull
if undefined.getTraversableResolver
in interface ConfigurationState
null
if not definedpublic boolean isIgnoreXmlConfiguration()
ConfigurationState
isIgnoreXmlConfiguration
in interface ConfigurationState
true
if META-INF/validation.xml should be ignoredCopyright © 2018. All rights reserved.