Configuration and a
ValidationProvider 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 |
|---|---|
| public ClockProvider | Returns: clock provider instance ornull if not definedReturns the clock provider for this configuration. |
| public ConstraintValidatorFactory | Returns: factory instance ornull if not definedReturns the constraint validator factory of this configuration. |
| public Set | |
| public MessageInterpolator | Returns: message interpolator instance ornull if not definedReturns the message interpolator of this configuration. |
| public ParameterNameProvider | Returns: parameter name provider instance ornull if not definedReturns the parameter name provider for this configuration. |
| public Map | Returns: Map whose key is the property key and the value
the property valueReturns a map of non type-safe custom properties. |
| public TraversableResolver | Returns: traversable resolver instance ornull if not definedReturns the traversable resolver for this configuration. |
| public Set | Returns: set of value extractors; may be empty but nevernullReturns a set of value extractors. |
| public boolean | Returns: true if META-INF/validation.xml should be ignoredReturns |
| getClockProvider | back to summary |
|---|---|
| public ClockProvider getClockProvider() Returns the clock provider for this configuration.
| |
| getConstraintValidatorFactory | back to summary |
|---|---|
| public ConstraintValidatorFactory getConstraintValidatorFactory() Returns the constraint validator factory of this configuration.
The
| |
| getMappingStreams | back to summary |
|---|---|
| public Set Returns a set of configuration streams. The streams are defined by:
Streams represented in the XML configuration and opened by the
| |
| getMessageInterpolator | back to summary |
|---|---|
| public MessageInterpolator getMessageInterpolator() Returns the message interpolator of this configuration. Message interpolator is defined in the following decreasing priority:
| |
| getParameterNameProvider | back to summary |
|---|---|
| public ParameterNameProvider getParameterNameProvider() Returns the parameter name provider for this configuration.
| |
| getProperties | back to summary |
|---|---|
| public Map Returns a map of non type-safe custom properties. Properties defined via:
If a property is defined both programmatically and in XML, the value defined programmatically has priority. | |
| getTraversableResolver | back to summary |
|---|---|
| public TraversableResolver getTraversableResolver() Returns the traversable resolver for this configuration.
| |
| getValueExtractors | back to summary |
|---|---|
| public Set Returns a set of value extractors. The extractors are retrieved from the following sources in decreasing order:
META-INF/validation.xml or loaded
through the service loader. Extractors defined in
META-INF/validation.xml take precedence over any extractor for
the same type and type parameter loaded through the service loader.
Extractors defined in
| |
| isIgnoreXmlConfiguration | back to summary |
|---|---|
| public boolean isIgnoreXmlConfiguration() Returns
In this case, the
| |