Creates and configures objects from DOM
org.w3c.dom.Element (XML file).
DOM Element can be read from InputStream, File or URL.
Instantiation and configuration happens as follows:
Instantiation
If there is no 'type' attribute then type defaults to
java.lang.String and text of the element will be returned.
If instance created by DomConfigFactory implements this interface then the factory
passes a command to the instance to restart it if the instance detects a failure which
can be possibly fixed by re-creating the instance from XML configuration.