問題タブ [xjb]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
34 参照

java - JAXB XJB (2 つの類似した名前の要素)

私は次のxsdを持っています

ご覧のとおり、2 つの <xs:element name="object" ... /> があり、同じ名前の 2 つのクラスを持つ Java ではうまく変換されません。私はそれらを翻訳するためにxjbを使用しようとしています

しかし、私は結局

ここで何が間違っているのだろうか、誰かがそれを理解するのを手伝ってくれますか? XJB ファイルの内部クラスの名前を変更するにはどうすればよいですか?