Package org.smooks.api.delivery
Interface ContentHandlerFactory<T>
-
- All Superinterfaces:
ContentHandler
- All Known Implementing Classes:
JavaContentHandlerFactory
public interface ContentHandlerFactory<T> extends ContentHandler
ContentHandler factory interface.- Author:
- tfennelly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create(ResourceConfig resourceConfig)
Create the content handler instance.String
getType()
-
-
-
Method Detail
-
create
T create(ResourceConfig resourceConfig)
Create the content handler instance.- Parameters:
resourceConfig
- The ResourceConfig for theContentHandler
to 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()
-
-