com.atlassian.xwork.interceptors
Class SimpleValidationInterceptor
java.lang.Object
com.atlassian.xwork.interceptors.SimpleValidationInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor, Serializable
public class SimpleValidationInterceptor
- extends Object
- implements com.opensymphony.xwork.interceptor.Interceptor
Very simple validation interceptor. If an action implements both Validateable
and ValidationAware, the interceptor will call the actions Validateable#validate() method,
and abort processing of the action (returning INPUT) if the validation results in errors.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleValidationInterceptor
public SimpleValidationInterceptor()
intercept
public String intercept(com.opensymphony.xwork.ActionInvocation invocation)
throws Exception
- Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor
init
public void init()
- Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor
Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.