org.iscreen.impl
Interface ValidatorWrapper

All Known Implementing Classes:
ConfiguredValidator, ValidationServiceValidator

public interface ValidatorWrapper

Author:
Shellman, Dan

Method Summary
 boolean validate(DefaultValidatorContext context, OgnlRoot root, java.lang.Object obj)
          Called to have the wrapper validate the passed object.
 

Method Detail

validate

boolean validate(DefaultValidatorContext context,
                 OgnlRoot root,
                 java.lang.Object obj)
Called to have the wrapper validate the passed object. It is expected that the wrapper will update the root object as appropriate. The context already has access to the root that is being passed in.

Parameters:
context - The validation context to pass on to the contained validator.
root - The OGNL root, to be updated as appropriate.
obj - The object to be validated.