net.sf.crispy.filter
Class AbstractInterceptorFilter

java.lang.Object
  extended bynet.sf.crispy.filter.AbstractInterceptorFilter
All Implemented Interfaces:
InterceptorFilter
Direct Known Subclasses:
NamePatternInterceptorFilter, SimpleNameInterceptorFilter

public abstract class AbstractInterceptorFilter
extends java.lang.Object
implements InterceptorFilter


Field Summary
static int FILTER_TYPE_CLASS
           
static int FILTER_TYPE_METHOD
           
static int FILTER_TYPE_NO
           
static int FILTER_TYPE_THROWABLE
           
protected  int filterObjectsType
           
 
Constructor Summary
AbstractInterceptorFilter()
           
 
Method Summary
abstract  boolean accept(InterceptorFilterContext pvContext)
          This method commit the execution of the Interceptor.
 boolean getNegate()
           
protected  boolean negate(boolean pvValue)
           
 void setNegate(boolean pvNegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_TYPE_NO

public static final int FILTER_TYPE_NO
See Also:
Constant Field Values

FILTER_TYPE_METHOD

public static final int FILTER_TYPE_METHOD
See Also:
Constant Field Values

FILTER_TYPE_CLASS

public static final int FILTER_TYPE_CLASS
See Also:
Constant Field Values

FILTER_TYPE_THROWABLE

public static final int FILTER_TYPE_THROWABLE
See Also:
Constant Field Values

filterObjectsType

protected int filterObjectsType
Constructor Detail

AbstractInterceptorFilter

public AbstractInterceptorFilter()
Method Detail

setNegate

public void setNegate(boolean pvNegate)

getNegate

public boolean getNegate()

negate

protected boolean negate(boolean pvValue)

accept

public abstract boolean accept(InterceptorFilterContext pvContext)
Description copied from interface: InterceptorFilter
This method commit the execution of the Interceptor.

Specified by:
accept in interface InterceptorFilter
Parameters:
pvContext - The context of the execution.
Returns:
true, if the execution is continue, else false.


Copyright © 2005-2006 Crispy. All Rights Reserved.