public static class ResolverUtil.IsA extends ResolverUtil.ClassTest
Constructor and Description |
---|
ResolverUtil.IsA(Class<?> parentType)
Constructs an IsA test using the supplied Class as the parent class/interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Class<?> type)
Returns true if type is assignable to the parent type supplied in the constructor.
|
String |
toString() |
doesMatchClass, doesMatchResource, matches
public ResolverUtil.IsA(Class<?> parentType)
parentType
- The parent class to check for.Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.