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
BeanDefinitionParser
implementation providing a number of convenience methods and atemplate method
that 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 theClass
being configured.Base class for thoseBeanDefinitionParser
implementations that need to parse and define just a singleBeanDefinition
.Interface used by theDefaultBeanDefinitionDocumentReader
to handle custom, nested (directly under a<bean>
) tags.SPI for parsing an XML document that contains Spring bean definitions.Interface used by theDefaultBeanDefinitionDocumentReader
to handle custom, top-level (directly under<beans/>
) tags.Stateful delegate class used to parse XML bean definitions.EntityResolver
implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).Default implementation of theBeanDefinitionDocumentReader
interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).Spring's defaultDocumentLoader
implementation.Default implementation of theNamespaceHandlerResolver
interface.EntityResolver
implementation that delegates to aBeansDtdResolver
and aPluggableSchemaResolver
for 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 theDefaultBeanDefinitionDocumentReader
for handling custom namespaces in a Spring XML configuration file.Used by theDefaultBeanDefinitionDocumentReader
to locate aNamespaceHandler
implementation 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.EntityResolver
implementation that attempts to resolve schema URLs into localclasspath resources
using a set of mappings files.EntityResolver
implementation that tries to resolve entity references through aResourceLoader
(usually, relative to the resource base of anApplicationContext
), if applicable.SimpleNamespaceHandler
implementation that maps custom attributes directly through to bean properties.SimpleNamespaceHandler
implementation that maps custom attributes directly through to bean properties.NamespaceHandler
for theutil
namespace.Bean definition reader for XML bean definitions.XML-specific BeanDefinitionStoreException subclass that wraps aSAXException
, typically aSAXParseException
which contains information about the error location.Extension ofReaderContext
, specific to use with anXmlBeanDefinitionReader
.