org.apache.commons.digester.annotations.spi
Interface DigesterLoaderHandlerFactory

All Known Implementing Classes:
DefaultDigesterLoaderHandlerFactory

public interface DigesterLoaderHandlerFactory

An object capable of providing instances of DigesterLoaderHandler.

Since:
2.1

Method Summary
<L extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>>
L
newInstance(Class<L> type)
          Return an instance of the specified type.
 

Method Detail

newInstance

<L extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>> L newInstance(Class<L> type)
                                                                                             throws DigesterLoadingException
Return an instance of the specified type.

Type Parameters:
L -
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 the type instance.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.