Class RegexPatternTypeFilter
java.lang.Object
org.springframework.core.type.filter.AbstractClassTestingTypeFilter
org.springframework.core.type.filter.RegexPatternTypeFilter
- All Implemented Interfaces:
TypeFilter
A simple filter for matching a fully-qualified class name with a regex
Pattern
.- Since:
- 2.5
- Author:
- Mark Fisher, Juergen Hoeller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
match
(ClassMetadata metadata) Determine a match based on the given ClassMetadata object.Methods inherited from class org.springframework.core.type.filter.AbstractClassTestingTypeFilter
match
-
Constructor Details
-
RegexPatternTypeFilter
-
-
Method Details
-
match
Description copied from class:AbstractClassTestingTypeFilter
Determine a match based on the given ClassMetadata object.- Specified by:
match
in classAbstractClassTestingTypeFilter
- Parameters:
metadata
- the ClassMetadata object- Returns:
- whether this filter matches on the specified type
-