使用JAXB 2.1生成Java代码的.xsd JAXB2-基础插件可比 用于 希望有产生Fragment类来实现Comparable<Fragment> public class Fragment implements Serializable, Comparable<Fragment> {
...
public int compareTo(Fragment other) {
我在将xjb继承绑定应用于simpleType时遇到了一些麻烦。将它应用到complexType似乎工作正常。 我得到的错误是: compiler was unable to honor this implements customization. It is attached to a wrong place, or its inconsistent with other bindings.