net.sf.jour.filter
Class MatchFilter

java.lang.Object
  extended by net.sf.jour.filter.MatchFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
BasicFilter, MatchAnyFilter, PointcutModifierFiler, TimeMatchFilter

public abstract class MatchFilter
extends java.lang.Object
implements Filter

TODO Add docs Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 3 $ ($Author: vlads $) $Date: 2006-11-19 16:52:09 -0500 (Sun, 19 Nov 2006) $
Author:
vlads

Field Summary
protected static boolean debug
          conditional compilation set to false to allow compiler to identify and eliminate unreachable code
static int MATCH_DONT_KNOW
           
static int MATCH_EXACT
           
static int MATCH_EXCLUDE
           
static int MATCH_NO
           
static int MATCH_YES
           
 java.lang.String name
          a name use for debuging complex lists.
 
Constructor Summary
MatchFilter()
           
 
Method Summary
 int b2Match(boolean isMatch)
           
abstract  void debug()
           
 boolean isMatch(int state)
           
 java.lang.String match2String(int state)
           
abstract  int matchState(java.lang.Object obj)
           
 int notMatch(int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATCH_EXCLUDE

public static final int MATCH_EXCLUDE
See Also:
Constant Field Values

MATCH_NO

public static final int MATCH_NO
See Also:
Constant Field Values

MATCH_DONT_KNOW

public static final int MATCH_DONT_KNOW
See Also:
Constant Field Values

MATCH_YES

public static final int MATCH_YES
See Also:
Constant Field Values

MATCH_EXACT

public static final int MATCH_EXACT
See Also:
Constant Field Values

debug

protected static final boolean debug
conditional compilation set to false to allow compiler to identify and eliminate unreachable code

See Also:
Constant Field Values

name

public java.lang.String name
a name use for debuging complex lists.

Constructor Detail

MatchFilter

public MatchFilter()
Method Detail

matchState

public abstract int matchState(java.lang.Object obj)

notMatch

public int notMatch(int state)

b2Match

public int b2Match(boolean isMatch)

isMatch

public boolean isMatch(int state)

debug

public abstract void debug()

match2String

public java.lang.String match2String(int state)


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.