程序包 org.springframework.beans.factory.xml
Contains an abstract XML-based
BeanFactory implementation, including a standard "spring-beans" XSD.接口概要 接口 说明 BeanDefinitionDecorator Interface used by theDefaultBeanDefinitionDocumentReaderto handle custom, nested (directly under a<bean>) tags.BeanDefinitionDocumentReader SPI for parsing an XML document that contains Spring bean definitions.BeanDefinitionParser Interface used by theDefaultBeanDefinitionDocumentReaderto handle custom, top-level (directly under<beans/>) tags.DocumentLoader Strategy interface for loading an XMLDocument.NamespaceHandler Base interface used by theDefaultBeanDefinitionDocumentReaderfor handling custom namespaces in a Spring XML configuration file.NamespaceHandlerResolver Used by theDefaultBeanDefinitionDocumentReaderto locate aNamespaceHandlerimplementation for a particular namespace URI.类概要 类 说明 AbstractBeanDefinitionParser AbstractBeanDefinitionParserimplementation providing a number of convenience methods and atemplate methodthat subclasses must override to provide the actual parsing logic.AbstractSimpleBeanDefinitionParser 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.AbstractSingleBeanDefinitionParser Base class for thoseBeanDefinitionParserimplementations that need to parse and define just a singleBeanDefinition.BeanDefinitionParserDelegate Stateful delegate class used to parse XML bean definitions.BeansDtdResolver EntityResolverimplementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file).DefaultBeanDefinitionDocumentReader Default implementation of theBeanDefinitionDocumentReaderinterface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format).DefaultDocumentLoader Spring's defaultDocumentLoaderimplementation.DefaultNamespaceHandlerResolver Default implementation of theNamespaceHandlerResolverinterface.DelegatingEntityResolver EntityResolverimplementation that delegates to aBeansDtdResolverand aPluggableSchemaResolverfor DTDs and XML schemas, respectively.DocumentDefaultsDefinition 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.NamespaceHandlerSupport Support class for implementing customNamespaceHandlers.ParserContext Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state.PluggableSchemaResolver EntityResolverimplementation that attempts to resolve schema URLs into localclasspath resourcesusing a set of mappings files.ResourceEntityResolver EntityResolverimplementation that tries to resolve entity references through aResourceLoader(usually, relative to the resource base of anApplicationContext), if applicable.SimpleConstructorNamespaceHandler SimpleNamespaceHandlerimplementation that maps custom attributes directly through to bean properties.SimplePropertyNamespaceHandler SimpleNamespaceHandlerimplementation that maps custom attributes directly through to bean properties.UtilNamespaceHandler NamespaceHandlerfor theutilnamespace.XmlBeanDefinitionReader Bean definition reader for XML bean definitions.XmlBeanFactory 已过时。 as of Spring 3.1 in favor ofDefaultListableBeanFactoryandXmlBeanDefinitionReaderXmlReaderContext Extension ofReaderContext, specific to use with anXmlBeanDefinitionReader.异常错误概要 异常错误 说明 XmlBeanDefinitionStoreException XML-specific BeanDefinitionStoreException subclass that wraps aSAXException, typically aSAXParseExceptionwhich contains information about the error location.