public class ActionFormValidationInterceptor
extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected com.opensymphony.xwork2.config.Configuration |
configuration |
| Constructor and Description |
|---|
ActionFormValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPathnames() |
String |
intercept(com.opensymphony.xwork2.ActionInvocation invocation) |
boolean |
isStopOnFirstError() |
protected org.apache.commons.validator.ValidatorResources |
loadResources(javax.servlet.ServletContext ctx)
Initialize the validator resources for this module.
|
void |
setConfiguration(com.opensymphony.xwork2.config.Configuration config) |
void |
setPathnames(String pathNames) |
void |
setStopOnFirstError(boolean stopOnFirstError) |
public void setConfiguration(com.opensymphony.xwork2.config.Configuration config)
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
intercept in interface com.opensymphony.xwork2.interceptor.Interceptorintercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptorExceptionprotected org.apache.commons.validator.ValidatorResources loadResources(javax.servlet.ServletContext ctx)
throws IOException,
javax.servlet.ServletException
IOException - if an input/output error is encounteredjavax.servlet.ServletException - if we cannot initialize these resourcespublic String getPathnames()
public void setPathnames(String pathNames)
pathNames - the pathnames to setpublic boolean isStopOnFirstError()
public void setStopOnFirstError(boolean stopOnFirstError)
stopOnFirstError - the stopOnFirstError to setCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.