public interface ContentHandlerFactory extends ContentHandler
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_RESTYPE
Name of the param used on a ContentHandlerFactory config that specifies
the resource type that the creator is adding support for.
|
Modifier and Type | Method and Description |
---|---|
Object |
create(SmooksResourceConfiguration resourceConfig)
Create the content handler instance.
|
static final String PARAM_RESTYPE
Object create(SmooksResourceConfiguration resourceConfig) throws SmooksConfigurationException, InstantiationException
resourceConfig
- The SmooksResourceConfiguration for the ContentHandler
to be created.SmooksConfigurationException
- Successfully created ContentHandler, but an error occured during configuration.InstantiationException
- Unable to create ContentHandler instance.Copyright © 2020. All rights reserved.