SPI for parsing an XML document that contains Spring bean definitions.
for actually parsing a DOM document.
Instantiated per document to parse: implementations can hold
state in instance variables during the execution of the
registerBeanDefinitions method — for example, global
settings that are defined for all bean definitions in the document.