Java org.springframework.beans.factory.xml XmlBeanDefinitionReader fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.factory.xml XmlBeanDefinitionReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.factory.xml XmlBeanDefinitionReader.

The text is from its open source code.

Subclass

org.springframework.beans.factory.xml.XmlBeanDefinitionReader has subclasses.
Click this link to see all its subclasses.

Field

intVALIDATION_NONE
Indicates that the validation should be disabled.
intVALIDATION_XSD
Indicates that XSD validation should be used.

Constructor

XmlBeanDefinitionReader(BeanDefinitionRegistry registry)
Create new XmlBeanDefinitionReader for the given bean factory.

Method

BeanDefinitionRegistrygetBeanFactory()
BeanDefinitionRegistrygetRegistry()
ResourceLoadergetResourceLoader()
intloadBeanDefinitions(Resource resource)
Load bean definitions from the specified XML file.
intloadBeanDefinitions(EncodedResource encodedResource)
Load bean definitions from the specified XML file.
intloadBeanDefinitions(InputSource inputSource)
Load bean definitions from the specified XML file.
intloadBeanDefinitions(InputSource inputSource, @Nullable String resourceDescription)
Load bean definitions from the specified XML file.
intregisterBeanDefinitions(Document doc, Resource resource)
Register the bean definitions contained in the given DOM document.
voidsetBeanClassLoader(@Nullable ClassLoader beanClassLoader)
Set the ClassLoader to use for bean classes.
voidsetDocumentLoader(@Nullable DocumentLoader documentLoader)
Specify the DocumentLoader to use.
voidsetDocumentReaderClass(Class documentReaderClass)
Specify the BeanDefinitionDocumentReader implementation to use, responsible for the actual reading of the XML bean definition document.
voidsetEntityResolver(@Nullable EntityResolver entityResolver)
Set a SAX entity resolver to be used for parsing.
voidsetEnvironment(Environment environment)
Set the Environment to use when reading bean definitions.
voidsetEventListener(@Nullable ReaderEventListener eventListener)
Specify which ReaderEventListener to use.
voidsetNamespaceAware(boolean namespaceAware)
Set whether or not the XML parser should be XML namespace aware.
voidsetNamespaceHandlerResolver(@Nullable NamespaceHandlerResolver namespaceHandlerResolver)
Specify the NamespaceHandlerResolver to use.
voidsetResourceLoader(@Nullable ResourceLoader resourceLoader)
Set the ResourceLoader to use for resource locations.
voidsetValidating(boolean validating)
Set whether to use XML validation.
voidsetValidationMode(int validationMode)
Set the validation mode to use.
voidsetValidationModeName(String validationModeName)
Set the validation mode to use by name.