
public interface ConfigurationState
Configuration and a
ValidatorProvider to create a ValidatorFactory.
The configuration artifacts defined in the XML configuration and provided to the
Configuration are merged and passed along via
ConfigurationState.| Modifier and Type | Method and Description |
|---|---|
javax.validation.ConstraintValidatorFactory |
getConstraintValidatorFactory()
Returns the constraint validator factory of this configuration.
|
Set<String> |
getMappingStreams()
Returns a set of configuration streams.
|
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
|
boolean isIgnoreXmlConfiguration()
true if META-INF/validation.xml should be ignoredMessageInterpolator getMessageInterpolator()
Configuration programmatic APInull if undefined.Set<String> getMappingStreams()
ConfigurationConfiguration implementation must be closed by the
Configuration implementation after the ValidatorFactory
creation (or if an exception occurs).
GWT change: Rerturn a set of Strings intest of a InputStream.javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
ConstraintValidatorFactory implementation is defined in the following
decreasing priority:
Configuration programmatic APInull if undefined.null if not definedjavax.validation.TraversableResolver getTraversableResolver()
TraversableResolver is defined in the following decreasing priority:
Configuration programmatic APInull if undefined.null if not definedMap<String,String> getProperties()
Copyright © 2018. All rights reserved.