我是Spring的新手,想知道在引擎启动时存储重复结构的最佳方法是什么。
XML看起来像这样:
<?xml version = "1.0" encoding = "UTF-8"?>
<root>
<OSNDetails>
<Processor>IPL</Processor>
<AddDataOSNs>AUTHORIZED</AddDataOSNs>
<APIList>
<confirmpayin>
<osnlistwithDelay>AUTHORIZED:0,CAPTURED:10,SETTLED:15</osnlistwithDelay>
</confirmpayin>
<confirmrejected>
<osnlistwithDelay>CONFIRMREJECTED:0</osnlistwithDelay>
</confirmrejected>
<confirmsettled>
<osnlistwithDelay></osnlistwithDelay>
</confirmsettled>
<confirmrefund>
<osnlistwithDelay>REFUNDED:0</osnlistwithDelay>
</confirmrefund>
</APIList>
</OSNDetails>
<OSNDetails>
<Processor>ABC</Processor>
<AddDataOSNs>AUTHORIZED,REFUNDED,CONFIRMREJECTED,SETTLED</AddDataOSNs>
<APIList>
<confirmpayin>
<osnlistwithDelay>AUTHORIZED:0,CAPTURED:5</osnlistwithDelay>
</confirmpayin>
<confirmrejected>
<osnlistwithDelay>CONFIRMREJECTED:0</osnlistwithDelay>
</confirmrejected>
<confirmsettled>
<osnlistwithDelay>SETTLED:0</osnlistwithDelay>
</confirmsettled>
<confirmrefund>
<osnlistwithDelay>REFUNDED:0</osnlistwithDelay>
</confirmrefund>
</APIList>
</OSNDetails>
</root>
存储重复元素结构的最佳数据结构是什么,以及在以后处理实际事务时如何使用它。