org.springframework.beans.factory.xml |
Contains an abstract XML-based BeanFactory implementation,
including a standard "spring-beans" DTD.
|
Java Source File Name | Type | Comment |
AbstractBeanDefinitionParser.java | Class | Abstract
BeanDefinitionParser implementation providing
a number of convenience methods and a
AbstractBeanDefinitionParser.parseInternal template method that subclasses must override to provide the actual parsing logic.
Use this
BeanDefinitionParser implementation when you want
to parse some arbitrarily complex XML into one or more
BeanDefinition BeanDefinitions . |
AbstractSimpleBeanDefinitionParser.java | Class | 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 the
Class being configured.
Extend this parser class when you want to create a single
bean definition from a relatively simple custom XML element. |
AbstractSingleBeanDefinitionParser.java | Class | Base class for those
BeanDefinitionParser implementations that
need to parse and define just a single BeanDefinition .
Extend this parser class when you want to create a single bean definition
from an arbitrarily complex XML element. |
BeanDefinitionDecorator.java | Interface | Interface used by the
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader to handle custom, nested (directly under a <bean> ) tags.
Decoration may also occur based on custom attributes applied to the
<bean> tag. |
BeanDefinitionDocumentReader.java | Interface | SPI for parsing an XML document that contains Spring bean definitions. |
BeanDefinitionParser.java | Interface | Interface used by the
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader to
handle custom, top-level (directly under <beans> ) tags. |
BeanDefinitionParserDelegate.java | Class | Stateful delegate class used to parse XML bean definitions. |
BeansDtdResolver.java | Class | EntityResolver implementation for the Spring beans DTD,
to load the DTD from the Spring class path (or JAR file). |
DefaultBeanDefinitionDocumentReader.java | Class | Default implementation of the
BeanDefinitionDocumentReader interface.
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. |
DefaultDocumentLoader.java | Class | The default
DocumentLoader implementation.
Simply loads
Document documents using the standard JAXP-configured
XML parser. |
DefaultNamespaceHandlerResolver.java | Class | Default implementation of the
NamespaceHandler interface. |
DelegatingEntityResolver.java | Class | EntityResolver implementation that delegates to a
BeansDtdResolver and a
PluggableSchemaResolver for DTDs and XML schemas, respectively. |
DocumentDefaultsDefinition.java | Class | |
DocumentLoader.java | Interface | Strategy interface for loading an XML
Document . |
NamespaceHandler.java | Interface | Base interface used by the
DefaultBeanDefinitionDocumentReader for handling custom namespaces in a Spring XML configuration file. |
NamespaceHandlerResolver.java | Interface | Used by the
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader to
locate a
NamespaceHandler implementation for a particular namespace URI. |
NamespaceHandlerSupport.java | Class | Support class for implementing custom
NamespaceHandler NamespaceHandlers . |
ParserContext.java | Class | Context that gets passed along a bean definition parsing process,
encapsulating all relevant configuration as well as state. |
PluggableSchemaResolver.java | Class | EntityResolver implementation that attempts to resolve schema URLs into
local
ClassPathResource classpath resources using a set of mappings files. |
ResourceEntityResolver.java | Class | EntityResolver implementation that tries to resolve entity references
through a
org.springframework.core.io.ResourceLoader (usually,
relative to the resource base of an ApplicationContext), if applicable.
Extends
DelegatingEntityResolver to also provide DTD and XSD lookup.
Allows to use standard XML entities to include XML snippets into an
application context definition, for example to split a large XML file
into various modules. |
SimplePropertyNamespaceHandler.java | Class | Simple NamespaceHandler implementation that maps custom attributes
directly through to bean properties. |
UtilNamespaceHandler.java | Class | NamespaceHandler for the util namespace. |
XmlBeanDefinitionParser.java | Interface | Strategy interface for parsing XML bean definitions. |
XmlBeanDefinitionReader.java | Class | Bean definition reader for XML bean definitions. |
XmlBeanDefinitionStoreException.java | Class | XML-specific BeanDefinitionStoreException subclass that wraps a
org.xml.sax.SAXException , typically a
org.xml.sax.SAXParseException which contains information about the error location. |
XmlBeanFactory.java | Class | Convenience extension of
DefaultListableBeanFactory that reads bean definitions
from an XML document. |
XmlReaderContext.java | Class | Extension of
org.springframework.beans.factory.parsing.ReaderContext ,
specific to use with an
XmlBeanDefinitionReader . |