public final class DefaultAnnotationRuleProviderFactory extends Object implements AnnotationRuleProviderFactory
AnnotationRuleProviderFactory
implementation.Constructor and Description |
---|
DefaultAnnotationRuleProviderFactory() |
Modifier and Type | Method and Description |
---|---|
<T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> |
newInstance(Class<T> type)
Return an
AnnotationRuleProvider instance of the specified type. |
public DefaultAnnotationRuleProviderFactory()
public <T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> T newInstance(Class<T> type) throws DigesterLoadingException
AnnotationRuleProvider
instance of the specified type.newInstance
in interface AnnotationRuleProviderFactory
T
- the AnnotationRuleProvider
type.type
- the class of the object to be returned.DigesterLoadingException
- if any error occurs while creating the
type
instance.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.