Desérializer du xml vers une liste ou arraylist
bonjour à tous
j'ai le fichier XML suivant
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <tests.Config>
<inputpath>C:\test\</inputpath>
<rejectpath>C:\reject\</rejectpath>
<processedpath>C:\destination\</processedpath>
<services__not__suppoterd>
<sncode>1</sncode>
<sncode>17</sncode>
<sncode>18</sncode>
<sncode>19</sncode>
<sncode>37</sncode>
</services__not__suppoterd>
</tests.Config> |
mon problème c'est que j'arrive pas à deserializer l' element services__not__suppoterd vers une List ou une collection contenant tous les sncode sachant que je veut obtenir au final un objet qui a les attributs suivants :
String inputpath;
String rejectpath ;
String processedpath ;
(List ou ArrayList) services__not__suppoterd ;
Merci d' avance