Package org.smooks

Interface SmooksFactory


  • public interface SmooksFactory
    A factory that creates Smooks instances.
    Author:
    Daniel Bevenius
    • Method Detail

      • createInstance

        Smooks createInstance()
        Creates a Smooks instance that is unconfigured
        Returns:
        Smooks a new Smooks instance that is unconfigured.
      • createInstance

        Smooks createInstance​(InputStream config)
                       throws IOException,
                              SAXException
        Creates a Smooks instance that is unconfigured
        Parameters:
        config - the Smooks configuration to add to the created Smooks instance.
        Returns:
        Smooks a new Smooks instance that is configured with the passed in config.
        Throws:
        IOException
        SAXException
      • createInstance

        Smooks createInstance​(String config)
                       throws IOException,
                              SAXException
        Creates a Smooks instance that is unconfigured
        Parameters:
        config - the Smooks configuration to add to the created Smooks instance.
        Returns:
        Smooks a new Smooks instance that is configured with the passed in config.
        Throws:
        IOException
        SAXException