|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationState
Contract between a 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.
| Method Summary | |
|---|---|
ConstraintValidatorFactory |
getConstraintValidatorFactory()
Returns the constraint validator factory of this configuration. |
java.util.Set<java.io.InputStream> |
getMappingStreams()
Returns a set of configuration streams. |
MessageInterpolator |
getMessageInterpolator()
Returns the message interpolator of this configuration. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns a map of non type-safe custom properties. |
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 |
| Method Detail |
|---|
boolean isIgnoreXmlConfiguration()
true if META-INF/validation.xml should be ignoredMessageInterpolator getMessageInterpolator()
Configuration programmatic APInull if undefined.
java.util.Set<java.io.InputStream> getMappingStreams()
ConfigurationConfiguration implementation must be closed by the
Configuration implementation after the ValidatorFactory
creation (or if an exception occurs).
ConstraintValidatorFactory getConstraintValidatorFactory()
ConstraintValidatorFactory implementation is defined in the following
decreasing priority:
Configuration programmatic APInull if undefined.
null if not definedTraversableResolver getTraversableResolver()
TraversableResolver is defined in the following decreasing priority:
Configuration programmatic APInull if undefined.
null if not definedjava.util.Map<java.lang.String,java.lang.String> getProperties()
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24