open class DefaultBeanDefinitionDocumentReader : 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.
Author
Rod Johnson
Author
Juergen Hoeller
Author
Rob Harrop
Author
Erik Wiersma
Since
18.12.2003
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). |
static val ALIAS_ATTRIBUTE: String |
|
static val ALIAS_ELEMENT: String |
|
static val BEAN_ELEMENT: String |
|
static val IMPORT_ELEMENT: String |
|
static val NAME_ATTRIBUTE: String |
|
static val NESTED_BEANS_ELEMENT: String |
|
static val PROFILE_ATTRIBUTE: String |
|
static val RESOURCE_ATTRIBUTE: String |
open fun registerBeanDefinitions(doc: Document, readerContext: XmlReaderContext): Unit
This implementation parses bean definitions according to the "spring-beans" XSD (or DTD, historically). Opens a DOM Document; then initializes the default settings specified at the |