Class DefaultBeanDefinitionDocumentReader

  • All Implemented Interfaces:
    BeanDefinitionDocumentReader

    public class DefaultBeanDefinitionDocumentReader
    extends Object
    implements BeanDefinitionDocumentReader
    Default implementation of the BeanDefinitionDocumentReader interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).

    The structure, elements, and attribute names of the required XML document are hard-coded in this class. (Of course a transform could be run if necessary to produce this format). <beans> does not need to be the root element of the XML document: this class will parse all bean definition elements in the XML file, regardless of the actual root element.

    Since:
    18.12.2003
    Author:
    Rod Johnson, Juergen Hoeller, Rob Harrop, Erik Wiersma