Package org.smooks.api.delivery
Interface ContentHandlerFactory<T>
-
- All Superinterfaces:
ContentHandler
public interface ContentHandlerFactory<T> extends ContentHandler
ContentHandler factory interface.- Author:
- tfennelly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate(ResourceConfig resourceConfig)Create the content handler instance.StringgetType()
-
-
-
Method Detail
-
create
T create(ResourceConfig resourceConfig)
Create the content handler instance.- Parameters:
resourceConfig- The ResourceConfig for theContentHandlerto be created.- Returns:
- Content handler instance.
- Throws:
SmooksConfigException- Successfully created ContentHandler, but an error occured during configuration.InstantiationException- Unable to create ContentHandler instance.
-
getType
String getType()
-
-