Class FactoryCreate.DefaultObjectCreationFactory

    • Constructor Detail

      • DefaultObjectCreationFactory

        public DefaultObjectCreationFactory()
    • Method Detail

      • createObject

        public java.lang.Object createObject​(org.xml.sax.Attributes attributes)
                                      throws java.lang.Exception
        Factory method called by FactoryCreateRule to supply an object based on the element's attributes.
        Specified by:
        createObject in interface ObjectCreationFactory<java.lang.Object>
        Specified by:
        createObject in class AbstractObjectCreationFactory<java.lang.Object>
        Parameters:
        attributes - the element's attributes
        Returns:
        creates a new T instance
        Throws:
        java.lang.Exception - any exception thrown will be propagated upwards