Class DefaultAnnotationRuleProviderFactory
- java.lang.Object
-
- org.apache.commons.digester.annotations.internal.DefaultAnnotationRuleProviderFactory
-
- All Implemented Interfaces:
AnnotationRuleProviderFactory
public final class DefaultAnnotationRuleProviderFactory extends Object implements AnnotationRuleProviderFactory
DefaultAnnotationRuleProviderFactory
implementation.- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description DefaultAnnotationRuleProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>>
TnewInstance(Class<T> type)
Return anAnnotationRuleProvider
instance of the specified type.
-
-
-
Method Detail
-
newInstance
public <T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> T newInstance(Class<T> type) throws DigesterLoadingException
Return anAnnotationRuleProvider
instance of the specified type.- Specified by:
newInstance
in interfaceAnnotationRuleProviderFactory
- Type Parameters:
T
- theAnnotationRuleProvider
type.- Parameters:
type
- the class of the object to be returned.- Returns:
- an instance of the specified class.
- Throws:
DigesterLoadingException
- if any error occurs while creating thetype
instance.
-
-