Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about xjc

Read more about xjc

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - xjc

JAXB not adding primitive type to @XMLJavaTypeAdapter annotation

I have been given an XSD which contains a xs:integer field. I want the generated code to use an int, so I can apply an existing interface to it. (the field is required and will never exceed the 32-bit...
test-img

Joost

java

jaxb

xjc

Votes: 0

Answers: 1

Latest Answer

Using the JAXB2-Basics-plugin I managed to override the generated annotation. I decided to use a named adapter instead of the dynamically generated Adapter1.class, but the implementation of IntAdapter...
test-img

Joost

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved