Interface ObjectCreationFactory

    • Method Detail

      • createObject

        Object createObject​(Attributes attributes)
                     throws Exception
        Factory method called by FactoryCreateRule to supply an object based on the element's attributes.
        Parameters:
        attributes - the element's attributes
        Returns:
        the created object
        Throws:
        Exception - any exception thrown will be propagated upwards
      • setDigester

        void setDigester​(Digester digester)
        Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.
        Parameters:
        digester - parent Digester object