private void registerXmlSchemaRepository ( Element element , ParserContext parserContext ) { BeanDefinitionBuilder builder = BeanDefinitionBuilder . genericBeanDefinition ( XsdSchemaRepository . class ) ; BeanDefinitionParserUtils . setPropertyReference ( builder , element . getAttribute ( "schema-mapping-strategy" ) , "schemaMappingStrategy" ) ; addLocationsToBuilder ( element , builder ) ; parseSchemasElement ( element , builder , parserContext ) ; parserContext . getRegistry ( ) . registerBeanDefinition ( element . getAttribute ( ID ) , builder . getBeanDefinition ( ) ) ; }
Registers a XsdSchemaRepository definition in the parser context