|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.util.classutil.SubclassClassFilter
public class SubclassClassFilter
SubclassClassFilter is a ClassFilter that matches
class names that (a) can be loaded and (b) extend a given subclass or
implement a specified interface, directly or indirectly. It uses the
java.lang.Class.isAssignableFrom()
| Constructor Summary | |
|---|---|
SubclassClassFilter(java.lang.Class baseClassOrInterface)
Construct a new SubclassClassFilter that will accept only classes that extend the specified class or implement the specified interface. |
|
| Method Summary | |
|---|---|
boolean |
accept(ClassInfo classInfo,
ClassFinder classFinder)
Perform the acceptance test on the loaded Class object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubclassClassFilter(java.lang.Class baseClassOrInterface)
baseClassOrInterface - the base class or interface| 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 | |||||||||