Class DefaultAnnotationRuleProviderFactory
- java.lang.Object
-
- org.apache.commons.digester.annotations.internal.DefaultAnnotationRuleProviderFactory
-
- All Implemented Interfaces:
AnnotationRuleProviderFactory
public final class DefaultAnnotationRuleProviderFactory extends java.lang.Object implements AnnotationRuleProviderFactory
DefaultAnnotationRuleProviderFactoryimplementation.- 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 java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>>
TnewInstance(java.lang.Class<T> type)Return anAnnotationRuleProviderinstance of the specified type.
-
-
-
Constructor Detail
-
DefaultAnnotationRuleProviderFactory
public DefaultAnnotationRuleProviderFactory()
-
-
Method Detail
-
newInstance
public <T extends AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>> T newInstance(java.lang.Class<T> type) throws DigesterLoadingException
Return anAnnotationRuleProviderinstance of the specified type.- Specified by:
newInstancein interfaceAnnotationRuleProviderFactory- Type Parameters:
T- theAnnotationRuleProvidertype.- 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 thetypeinstance.
-
-