|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionValidatorManager
ActionValidatorManager
Method Summary | |
---|---|
List |
getValidators(Class clazz,
String context)
Returns a list of validators for the given class and context. |
void |
validate(Object object,
List validators,
ValidatorContext validatorContext)
Validates an action through a series of validators with
the given validatorContext . |
void |
validate(Object object,
String context)
Validates the given object using action and its context. |
void |
validate(Object object,
String context,
ValidatorContext validatorContext)
Validates an action give its context and a validation context. |
Method Detail |
---|
List getValidators(Class clazz, String context)
clazz
- the class to lookup.context
- the context of the action class - can be null.
void validate(Object object, String context) throws ValidationException
object
- the action to validate.context
- the action's context.
ValidationException
- if an error happens when validating the action.void validate(Object object, String context, ValidatorContext validatorContext) throws ValidationException
object
- the action to validate.context
- the action's context.validatorContext
-
ValidationException
- if an error happens when validating the action.void validate(Object object, List validators, ValidatorContext validatorContext) throws ValidationException
validators
with
the given validatorContext
.
object
- validators
- validatorContext
-
ValidationException
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |