net.sf.yavtags
Class YavFilter

java.lang.Object
  extended by net.sf.yavtags.YavFilter
All Implemented Interfaces:
javax.servlet.Filter

public class YavFilter
extends java.lang.Object
implements javax.servlet.Filter


Field Summary
static java.lang.String ADDITIONAL_ERROR
           
static java.lang.String DIV_ERRORS_PRINTED_LIST
           
static java.lang.String ERROR_LIST
           
static java.lang.String ERROR_PARAMETER
          Names of request parameters
static java.lang.String FORM_ACTION_URL
           
static java.lang.String FORM_NAME
           
static java.lang.String HELP_LIST
           
static java.lang.String I18N_ENABLED
           
static java.lang.String JAVASCRIPT_INCLUDED
           
static java.lang.String MASKS_MAP
           
static java.lang.String PAGE_MASK_MAP
           
static java.lang.String PARSED_FORMS_NUMBER
           
static java.lang.String REQUEST_URL
          Names of request-scope attributes
static java.lang.String RULES_LIST
          Names of page-scope parameters
static java.lang.String RULES_MAP
          Names of application-scope attributes
static java.lang.String VALIDATION_PERFORMED
           
static java.lang.String YAV_CONFIG
           
 
Constructor Summary
YavFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RULES_MAP

public static final java.lang.String RULES_MAP
Names of application-scope attributes

See Also:
Constant Field Values

MASKS_MAP

public static final java.lang.String MASKS_MAP
See Also:
Constant Field Values

I18N_ENABLED

public static final java.lang.String I18N_ENABLED
See Also:
Constant Field Values

ADDITIONAL_ERROR

public static final java.lang.String ADDITIONAL_ERROR
See Also:
Constant Field Values

YAV_CONFIG

public static final java.lang.String YAV_CONFIG
See Also:
Constant Field Values

REQUEST_URL

public static final java.lang.String REQUEST_URL
Names of request-scope attributes

See Also:
Constant Field Values

FORM_ACTION_URL

public static final java.lang.String FORM_ACTION_URL
See Also:
Constant Field Values

ERROR_LIST

public static final java.lang.String ERROR_LIST
See Also:
Constant Field Values

VALIDATION_PERFORMED

public static final java.lang.String VALIDATION_PERFORMED
See Also:
Constant Field Values

JAVASCRIPT_INCLUDED

public static final java.lang.String JAVASCRIPT_INCLUDED
See Also:
Constant Field Values

PARSED_FORMS_NUMBER

public static final java.lang.String PARSED_FORMS_NUMBER
See Also:
Constant Field Values

RULES_LIST

public static final java.lang.String RULES_LIST
Names of page-scope parameters

See Also:
Constant Field Values

PAGE_MASK_MAP

public static final java.lang.String PAGE_MASK_MAP
See Also:
Constant Field Values

HELP_LIST

public static final java.lang.String HELP_LIST
See Also:
Constant Field Values

DIV_ERRORS_PRINTED_LIST

public static final java.lang.String DIV_ERRORS_PRINTED_LIST
See Also:
Constant Field Values

ERROR_PARAMETER

public static final java.lang.String ERROR_PARAMETER
Names of request parameters

See Also:
Constant Field Values

FORM_NAME

public static final java.lang.String FORM_NAME
See Also:
Constant Field Values
Constructor Detail

YavFilter

public YavFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest servletRequest,
                     javax.servlet.ServletResponse servletResponse,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter