Example usage for Java org.springframework.beans.factory.xml XmlBeanDefinitionReader fields, constructors, methods, implement or subclass
The text is from its open source code.
int | VALIDATION_NONE Indicates that the validation should be disabled. |
int | VALIDATION_XSD Indicates that XSD validation should be used. |
XmlBeanDefinitionReader(BeanDefinitionRegistry registry) Create new XmlBeanDefinitionReader for the given bean factory. |
BeanDefinitionRegistry | getBeanFactory() |
BeanDefinitionRegistry | getRegistry() |
ResourceLoader | getResourceLoader() |
int | loadBeanDefinitions(Resource resource) Load bean definitions from the specified XML file. |
int | loadBeanDefinitions(EncodedResource encodedResource) Load bean definitions from the specified XML file. |
int | loadBeanDefinitions(InputSource inputSource) Load bean definitions from the specified XML file. |
int | loadBeanDefinitions(InputSource inputSource, @Nullable String resourceDescription) Load bean definitions from the specified XML file. |
int | registerBeanDefinitions(Document doc, Resource resource) Register the bean definitions contained in the given DOM document. |
void | setBeanClassLoader(@Nullable ClassLoader beanClassLoader) Set the ClassLoader to use for bean classes. |
void | setDocumentLoader(@Nullable DocumentLoader documentLoader) Specify the DocumentLoader to use. |
void | setDocumentReaderClass(Class extends BeanDefinitionDocumentReader> documentReaderClass) Specify the BeanDefinitionDocumentReader implementation to use, responsible for the actual reading of the XML bean definition document. |
void | setEntityResolver(@Nullable EntityResolver entityResolver) Set a SAX entity resolver to be used for parsing. |
void | setEnvironment(Environment environment) Set the Environment to use when reading bean definitions. |
void | setEventListener(@Nullable ReaderEventListener eventListener) Specify which ReaderEventListener to use. |
void | setNamespaceAware(boolean namespaceAware) Set whether or not the XML parser should be XML namespace aware. |
void | setNamespaceHandlerResolver(@Nullable NamespaceHandlerResolver namespaceHandlerResolver) Specify the NamespaceHandlerResolver to use. |
void | setResourceLoader(@Nullable ResourceLoader resourceLoader) Set the ResourceLoader to use for resource locations. |
void | setValidating(boolean validating) Set whether to use XML validation. |
void | setValidationMode(int validationMode) Set the validation mode to use. |
void | setValidationModeName(String validationModeName) Set the validation mode to use by name. |