LOG.error("解析数据字典出错(Error in parsing the data dictionary)",e);
}
return dics;
}
private static void parseDic(String xml, List<Dic> dics) {
XMLFactory factory=new XMLFactory(Dic.class,DicItem.class);
Dic dic=factory.unmarshal(xml);
//将XML表示的数据字典转变为JAVA对象表示的数据字典
assembleDic(dic);
dics.add(dic);
}