|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidatorContext
Represents the context that is used to create Validator
instances.
A client may use methods of the ValidatorContext returned through
usingContext
of ValidatorFactory
to customize
the context (for instance establish different message interpolators or
traversable resolvers) used to create Validator
instances.
Method Summary | |
---|---|
Validator |
getValidator()
|
ValidatorContext |
messageInterpolator(MessageInterpolator messageInterpolator)
Defines the message interpolator implementation used by the Validator. |
ValidatorContext |
traversableResolver(TraversableResolver traversableResolver)
Defines the traversable resolver implementation used by the Validator. |
Method Detail |
---|
ValidatorContext messageInterpolator(MessageInterpolator messageInterpolator)
ValidatorContext traversableResolver(TraversableResolver traversableResolver)
Validator getValidator()
Validator
instance respecting the defined state.
Validator instances can be pooled and shared by the implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |