|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionValidatorManager
ActionValidatorManager
Method Summary | |
---|---|
java.util.List |
getValidators(java.lang.Class clazz,
java.lang.String context)
Returns a list of validators for the given class and context. |
void |
validate(java.lang.Object object,
java.lang.String context)
Validates the given object using action and its context. |
void |
validate(java.lang.Object object,
java.lang.String context,
ValidatorContext validatorContext)
Validates an action give its context and a validation context. |
Method Detail |
---|
java.util.List getValidators(java.lang.Class clazz, java.lang.String context)
clazz
- the class to lookup.context
- the context of the action class - can be null.
void validate(java.lang.Object object, java.lang.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(java.lang.Object object, java.lang.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 |