getting Dynamic attribute for element in Jaxb

前端 未结 2 521
既然无缘
既然无缘 2020-12-20 23:23

I have the following XML tag with many attributes. The number/name of the attributes is not given because I am getting the XML in runtime and I just know the name of the tag

2条回答
  •  别那么骄傲
    2020-12-20 23:53

    Create 2 classes ScriptList and Script:

    @XmlType(name = "ScriptList")
    public class ScriptList {
        private Collection
    
                                     
                  
提交回复
热议问题