|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidatorFactory
Factory returning initialized Validator instances.
Implementations are thread-safe
This object is typically cached and reused.
| Method Summary | |
|---|---|
MessageInterpolator |
getMessageInterpolator()
Returns the MessageInterpolator instance configured at
initialization time for the ValidatorFactory |
Validator |
getValidator()
|
ValidatorContext |
usingContext()
Define the validator context and return a Validator compliant
with this state. |
| Method Detail |
|---|
Validator getValidator()
Validator instance using the default
factory instances for message interpolator and traversable resolver.
Validator instances can be pooled and shared by the implementation.
ValidatorContext usingContext()
Validator compliant
with this state.
ValidatorContext.MessageInterpolator getMessageInterpolator()
MessageInterpolator instance configured at
initialization time for the ValidatorFactory.
This is the instance used by #getValidator().
- Returns:
- MessageInterpolator instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||