AnnotationRuleProviderFactorypublic final class DefaultAnnotationRuleProviderFactory extends java.lang.Object implements AnnotationRuleProviderFactory
AnnotationRuleProviderFactory implementation.| Constructor | Description |
|---|---|
DefaultAnnotationRuleProviderFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
<T extends AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>> |
newInstance(java.lang.Class<T> type) |
Return an
AnnotationRuleProvider instance of the specified type. |
public DefaultAnnotationRuleProviderFactory()
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
AnnotationRuleProvider instance of the specified type.newInstance in interface AnnotationRuleProviderFactoryT - the AnnotationRuleProvider type.type - the class of the object to be returned.DigesterLoadingException - if any error occurs while creating the
type instance.