org.annotation.wordfreak
Class MethodAnnotationFilter

java.lang.Object
  extended byorg.annotation.wordfreak.MethodAnnotationFilter
All Implemented Interfaces:
AnnotationFilter

public class MethodAnnotationFilter
extends java.lang.Object
implements AnnotationFilter


Field Summary
 
Fields inherited from interface org.annotation.wordfreak.AnnotationFilter
CONFIDENCE, EQ, EXACT, GT, LT, MORPH, NE, REGEX, TEXT, TYPE
 
Constructor Summary
MethodAnnotationFilter(java.lang.reflect.Method m, java.lang.Object o)
           
 
Method Summary
 void addAnnotationFilterListener(AnnotationFilterListener afl)
          Adds the specified listener to the list of listeners which are notified of changed to this filter.
 boolean match(Annotation a)
          Return true if the specified annotation matches this filter.
 void removeAnnotationFilterListener(AnnotationFilterListener afl)
          Removes the specified listener from the list of listeners which are notified of changed to this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodAnnotationFilter

public MethodAnnotationFilter(java.lang.reflect.Method m,
                              java.lang.Object o)
Method Detail

addAnnotationFilterListener

public void addAnnotationFilterListener(AnnotationFilterListener afl)
Description copied from interface: AnnotationFilter
Adds the specified listener to the list of listeners which are notified of changed to this filter.

Specified by:
addAnnotationFilterListener in interface AnnotationFilter
Parameters:
afl - The object which will be notified.

removeAnnotationFilterListener

public void removeAnnotationFilterListener(AnnotationFilterListener afl)
Description copied from interface: AnnotationFilter
Removes the specified listener from the list of listeners which are notified of changed to this filter.

Specified by:
removeAnnotationFilterListener in interface AnnotationFilter
Parameters:
afl - The object which will no longer be notified.

match

public boolean match(Annotation a)
Description copied from interface: AnnotationFilter
Return true if the specified annotation matches this filter.

Specified by:
match in interface AnnotationFilter
Parameters:
a - The annotation to apply the filter to.
Returns:
true if the specified annotation matches this filter, false otherwise.


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.