Package org.springframework.beans.factory.xml
@NonNullApi
@NonNullFields
package org.springframework.beans.factory.xml
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD.-
ClassDescriptionAbstract
BeanDefinitionParserimplementation providing a number of convenience methods and atemplate methodthat subclasses must override to provide the actual parsing logic.Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on theClassbeing configured.Base class for thoseBeanDefinitionParserimplementations that need to parse and define just a singleBeanDefinition.Interface used by theDefaultBeanDefinitionDocumentReaderto handle custom, nested (directly under a<bean>) tags.SPI for parsing an XML document that contains Spring bean definitions.Interface used by theDefaultBeanDefinitionDocumentReaderto handle custom, top-level (directly under<beans/>) tags.Stateful delegate class used to parse XML bean definitions.EntityResolverimplementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).Default implementation of theBeanDefinitionDocumentReaderinterface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).Spring's defaultDocumentLoaderimplementation.Default implementation of theNamespaceHandlerResolverinterface.EntityResolverimplementation that delegates to aBeansDtdResolverand aPluggableSchemaResolverfor DTDs and XML schemas, respectively.Simple JavaBean that holds the defaults specified at the<beans>level in a standard Spring XML bean definition document:default-lazy-init,default-autowire, etc.Strategy interface for loading an XMLDocument.Base interface used by theDefaultBeanDefinitionDocumentReaderfor handling custom namespaces in a Spring XML configuration file.Used by theDefaultBeanDefinitionDocumentReaderto locate aNamespaceHandlerimplementation for a particular namespace URI.Support class for implementing customNamespaceHandlers.Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state.EntityResolverimplementation that attempts to resolve schema URLs into localclasspath resourcesusing a set of mappings files.EntityResolverimplementation that tries to resolve entity references through aResourceLoader(usually, relative to the resource base of anApplicationContext), if applicable.SimpleNamespaceHandlerimplementation that maps custom attributes directly through to bean properties.SimpleNamespaceHandlerimplementation that maps custom attributes directly through to bean properties.NamespaceHandlerfor theutilnamespace.Bean definition reader for XML bean definitions.XML-specific BeanDefinitionStoreException subclass that wraps aSAXException, typically aSAXParseExceptionwhich contains information about the error location.Extension ofReaderContext, specific to use with anXmlBeanDefinitionReader.