public abstract class

AbstractClassTestingTypeFilter

extends Object
implements TypeFilter
java.lang.Object
   ↳ org.springframework.core.type.filter.AbstractClassTestingTypeFilter
Known Direct Subclasses

Class Overview

Type filter that exposes a ClassMetadata object to subclasses, for class testing purposes.

Summary

Public Constructors
AbstractClassTestingTypeFilter()
Public Methods
final boolean match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)
Determine whether this filter matches for the class described by the given metadata.
Protected Methods
abstract boolean match(ClassMetadata metadata)
Determine a match based on the given ClassMetadata object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.core.type.filter.TypeFilter

Public Constructors

public AbstractClassTestingTypeFilter ()

Also: SpringCore

Public Methods

public final boolean match (MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)

Also: SpringCore

Determine whether this filter matches for the class described by the given metadata.

Parameters
metadataReader the metadata reader for the target class
metadataReaderFactory a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)
Returns
  • whether this filter matches
Throws
IOException

Protected Methods

protected abstract boolean match (ClassMetadata metadata)

Also: SpringCore

Determine a match based on the given ClassMetadata object.

Parameters
metadata the ClassMetadata object
Returns
  • whether this filter matches on the specified type