|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ActionValidatorManager
Method Summary | |
List |
getValidators(Class clazz,
String context)
Returns a list of validators for the given class and context. |
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 |
public List getValidators(Class clazz, String context)
clazz
- the class to lookup.context
- the context of the action class - can be null.
public 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.public 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.
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |