org.apache.commons.digester3.annotations
Interface AnnotationHandlerFactory
public interface AnnotationHandlerFactory
An object capable of providing instances of AnnotationHandler
.
- Since:
- 3.0
Method Summary |
|
newInstance(Class<H> type)
Return an instance of the specified type. |
newInstance
<H extends AnnotationHandler<? extends Annotation,? extends AnnotatedElement>> H newInstance(Class<H> type)
throws Exception
- Return an instance of the specified type.
- Type Parameters:
H
- The AnnotationHandler
type has to be created- Parameters:
type
- the class of the object to be returned.
- Returns:
- an instance of the specified class.
- Throws:
Exception
- if any error occurs while creating the AnnotationHandler
instance.
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.