spring-framework / org.springframework.beans.factory.xml / DefaultBeanDefinitionDocumentReader / <init>

<init>

DefaultBeanDefinitionDocumentReader()

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.

Author
Rod Johnson

Author
Juergen Hoeller

Author
Rob Harrop

Author
Erik Wiersma

Since
18.12.2003