Interface ContentHandlerFactory<T>

  • All Superinterfaces:
    ContentHandler

    public interface ContentHandlerFactory<T>
    extends ContentHandler
    ContentHandler factory interface.
    Author:
    tfennelly
    • Method Detail

      • create

        T create​(ResourceConfig resourceConfig)
        Create the content handler instance.
        Parameters:
        resourceConfig - The ResourceConfig for the ContentHandler to be created.
        Returns:
        Content handler instance.
        Throws:
        SmooksConfigException - Successfully created ContentHandler, but an error occured during configuration.
        InstantiationException - Unable to create ContentHandler instance.