|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
org.springframework.core.type.filter.AssignableTypeFilter
public class AssignableTypeFilter
A simple filter which matches classes that are assignable to a given type.
Constructor Summary | |
---|---|
AssignableTypeFilter(Class targetType)
Create a new AssignableTypeFilter for the given type. |
Method Summary | |
---|---|
protected boolean |
matchClassName(String className)
Override this to match on type name. |
protected Boolean |
matchInterface(String interfaceName)
Override this to match on interface type name. |
protected Boolean |
matchSuperClass(String superClassName)
Override this to match on super type name. |
protected Boolean |
matchTargetType(String typeName)
|
Methods inherited from class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter |
---|
match, matchSelf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssignableTypeFilter(Class targetType)
targetType
- the type to matchMethod Detail |
---|
protected boolean matchClassName(String className)
AbstractTypeHierarchyTraversingFilter
matchClassName
in class AbstractTypeHierarchyTraversingFilter
protected Boolean matchSuperClass(String superClassName)
AbstractTypeHierarchyTraversingFilter
matchSuperClass
in class AbstractTypeHierarchyTraversingFilter
protected Boolean matchInterface(String interfaceName)
AbstractTypeHierarchyTraversingFilter
matchInterface
in class AbstractTypeHierarchyTraversingFilter
protected Boolean matchTargetType(String typeName)
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |