org.apache.commons.digester.annotations.internal
Class DefaultDigesterLoaderHandlerFactory

java.lang.Object
  extended by org.apache.commons.digester.annotations.internal.DefaultDigesterLoaderHandlerFactory
All Implemented Interfaces:
DigesterLoaderHandlerFactory

public final class DefaultDigesterLoaderHandlerFactory
extends Object
implements DigesterLoaderHandlerFactory

Default DigesterLoaderHandlerFactory implementation.

Since:
2.1

Constructor Summary
DefaultDigesterLoaderHandlerFactory()
           
 
Method Summary
<L extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>>
L
newInstance(Class<L> type)
          Return an instance of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDigesterLoaderHandlerFactory

public DefaultDigesterLoaderHandlerFactory()
Method Detail

newInstance

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

Specified by:
newInstance in interface DigesterLoaderHandlerFactory
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.