Package org.smooks.classpath
Class InstanceOfFilter
- java.lang.Object
-
- org.smooks.classpath.InstanceOfFilter
-
- All Implemented Interfaces:
Filter
public class InstanceOfFilter extends Object
Filter classpath classes based on their type.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description InstanceOfFilter(Class<?> searchType)InstanceOfFilter(Class<?> searchType, String[] ignoreList, String[] includeList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaddClass(Class<?> clazz)voidfilter(String resourceName)Classpath resource filter method.List<Class<?>>getClasses()booleanisIgnorable(String resourceName)Is this resource ignorable.
-
-
-
Method Detail
-
addClass
protected boolean addClass(Class<?> clazz)
-
filter
public void filter(String resourceName)
Description copied from interface:FilterClasspath resource filter method.
-
isIgnorable
public boolean isIgnorable(String resourceName)
Description copied from interface:FilterIs this resource ignorable.- Specified by:
isIgnorablein interfaceFilter- Returns:
-
-