当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
AbstractTypeHierarchyTraversingFilter (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.core.typefilter
Class AbstractTypeHierarchyTraversingFilter
java.lang.Object
org.springframework.core.typefilter.AbstractTypeHierarchyTraversingFilter
- All Implemented Interfaces:
- TypeFilter
- Direct Known Subclasses:
- AnnotationTypeFilter, AssignableTypeFilter
public abstract class AbstractTypeHierarchyTraversingFilter
- extends Object
- implements TypeFilter
Type filter that is aware of traversing over hierarchy.
This filter is useful when matching needs to be made based on potentially the
whole class/interface hierarchy. The algorithm employed uses succeed-fast
strategy i.e. if at anytime a match is declared, no further processing is
carried out.
- Since:
- 2.1
- Author:
- Ramnivas Laddad
| Fields inherited from interface org.springframework.core.typefilter.TypeFilter |
TRUE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTypeHierarchyTraversingFilter
public AbstractTypeHierarchyTraversingFilter(boolean considerInherited,
boolean considerInterfaces)
match
public boolean match(org.objectweb.asm.ClassReader classReader)
- Specified by:
match in interface TypeFilter
matchSelf
protected boolean matchSelf(org.objectweb.asm.ClassReader classReader)
- Override this to match self characterisitcs alone. Typically,
the implementation will use a visitor to extract information
to perform matching.
matchClassName
protected boolean matchClassName(String className)
- Override this to match on type name.
matchSuperClassName
protected boolean matchSuperClassName(String superClassName)
matchInterfaceName
protected boolean matchInterfaceName(String interfaceNames)
Copyright © 2002-2007 The Spring Framework.