Class ConfigurationFactory.FileConfigurationFactory

    • Field Summary

      • Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory

        digester
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected FileConfiguration createConfiguration​(org.xml.sax.Attributes attributes)
      Creates the object, a FileConfiguration.
      java.lang.Object createObject​(org.xml.sax.Attributes attributes)
      Gets called by the digester.
      • Methods inherited from class org.apache.commons.digester.AbstractObjectCreationFactory

        getDigester, setDigester
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileConfigurationFactory

        public FileConfigurationFactory​(java.lang.Class<?> clazz)
        C'tor
        Parameters:
        clazz - The class which we should instantiate.
    • Method Detail

      • createObject

        public java.lang.Object createObject​(org.xml.sax.Attributes attributes)
                                      throws java.lang.Exception
        Gets called by the digester.
        Specified by:
        createObject in interface org.apache.commons.digester.ObjectCreationFactory
        Overrides:
        createObject in class ConfigurationFactory.DigesterConfigurationFactory
        Parameters:
        attributes - the actual attributes
        Returns:
        the new object
        Throws:
        java.lang.Exception - Couldn't instantiate the requested object.
      • createConfiguration

        protected FileConfiguration createConfiguration​(org.xml.sax.Attributes attributes)
                                                 throws java.lang.Exception
        Creates the object, a FileConfiguration.
        Parameters:
        attributes - the actual attributes
        Returns:
        the file configuration
        Throws:
        java.lang.Exception - if the object could not be created