当前位置:网站首页>9.2.4 settingselement method (XML configuration builder analysis) - SSM in depth analysis and project practice

9.2.4 settingselement method (XML configuration builder analysis) - SSM in depth analysis and project practice

2020-11-06 01:13:49 Memory

All the source code in the project can be found in the linked repository :https://github.com/chenhaoxiang/uifuture-ssm

9.2.4 settingsElement Method

After parsing the required results , It's the call settingsElement Methods will settings Set the configuration information to configuration In the object .settingsElement Method source code such as code list 9-6 Shown .

Code list 9-6:settingsElement Method

// take XML In the configuration file settings Set the key value pairs from the node to configuration In the example 
private void settingsElement(Properties props) throws Exception {
   
    
// This property is used to specify MyBati

版权声明
本文为[Memory]所创,转载请带上原文链接,感谢