|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.util.classutil.NotClassFilter
public class NotClassFilter
NotClassFilter is a ClassFilter that
wraps another ClassFilter and negates the sense of the
wrapped filter's accept() method. This
class conceptually provides a logical "NOT" operator for class name
filters. For example, the following code fragment will create a filter
that finds all classes that are not interfaces.
NotClassFilter filter = new NotClassFilter (new InterfaceOnlyClassFilter());
ClassFilter,
AndClassFilter,
OrClassFilter,
ClassFinder,
InterfaceOnlyClassFilter| Constructor Summary | |
|---|---|
NotClassFilter(ClassFilter filter)
Create a new NotClassFilter that wraps the specified ClassFilter. |
|
| Method Summary | |
|---|---|
boolean |
accept(ClassInfo classInfo,
ClassFinder classFinder)
Tests whether a class name should be included in a class name list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotClassFilter(ClassFilter filter)
ClassFilter.
filter - The ClassFilter to wrap.| Method Detail |
|---|
public boolean accept(ClassInfo classInfo,
ClassFinder classFinder)
accept in interface ClassFilterclassInfo - the ClassInfo object to testclassFinder - the invoking ClassFinder object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||