What is JAXB generated package-info.java

前端 未结 3 719
猫巷女王i
猫巷女王i 2020-12-24 12:55

I\'m trying to find some information on what the package-info.java file generated by the JAXB xjc commandline app actually does. All that is in

3条回答
  •  醉梦人生
    2020-12-24 13:27

    package-info.java is a way to apply java annotations at the package level. In this case Jaxb is using package-level annotations to indicate the namespace, and to specify namespace qualification for attributes (source).

提交回复
热议问题