Class ConfigurationFactory.DigesterConfigurationFactory

    • Field Summary

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

        digester
    • Constructor Summary

      Constructors 
      Constructor Description
      DigesterConfigurationFactory​(java.lang.Class<?> clazz)
      Creates a new instance of DigesterConfigurationFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object createObject​(org.xml.sax.Attributes attribs)
      Creates an instance of the specified class.
      • 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

      • DigesterConfigurationFactory

        public DigesterConfigurationFactory​(java.lang.Class<?> clazz)
        Creates a new instance of DigesterConfigurationFactory.
        Parameters:
        clazz - the class which we should instantiate
    • Method Detail

      • createObject

        public java.lang.Object createObject​(org.xml.sax.Attributes attribs)
                                      throws java.lang.Exception
        Creates an instance of the specified class.
        Specified by:
        createObject in interface org.apache.commons.digester.ObjectCreationFactory
        Specified by:
        createObject in class org.apache.commons.digester.AbstractObjectCreationFactory
        Parameters:
        attribs - the attributes (ignored)
        Returns:
        the new object
        Throws:
        java.lang.Exception - if object creation fails