private void parseMappingDefinitions ( BeanDefinitionBuilder builder , Element element ) { HashMap < String , String > mappings = new HashMap < String , String > ( ) ; for ( Element matcher : DomUtils . getChildElementsByTagName ( element , "mapping" ) ) { mappings . put ( matcher . getAttribute ( "path" ) , matcher . getAttribute ( "value" ) ) ; } if ( ! mappings . isEmpty ( ) ) { builder . addPropertyValue ( "mappings" , mappings ) ; } }
Parses all mapping definitions and adds those to the bean definition builder as property value .