Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7614703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:28:16+00:00 2026-05-31T02:28:16+00:00

I was a bit disillusioned as I was googling for how to customize auto

  • 0

I was a bit disillusioned as I was googling for how to customize auto generated java files from xsd. I started of letting the cxf.xjc maven plugin generate my java files, but now I need to change a few files to add extra basic getter functions and some other type adapters etc…

How can this be done? Can I somehow extend the ObjectFactory and tell JAXB to use my custom object factory for unmarshalling?

If yes, does JAXB by default take the annotations of the highest class in the object hierarchy if there are some annotation inconsistencies between generated classes and my custom files extending the generated classes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:28:17+00:00Added an answer on May 31, 2026 at 2:28 am

    With xjc compiler or corresponding Ant or Maven plugins you can specify additional plugins and for custom adapters you can add binding annotations to your xsd or external bindings schema.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Bit of a puzzle for you.... I have a 730px wide, auto height div.
Bit of a weird question. I'm passing data from one activity to another -
Bit of a newbie question as Im getting started with nHibernate. What's the difference
Bit of background, I'm a total lisp noob, only started a few weeks ago,
Bit of an unusual question, but I have setup a field inside a MySQL
Bit of a tough one to explain here, but I'll do my best. I
Bit of a javascript newbie so not sure if this question is easy or
Bit of a weird glitch here. The tag name of a childNode is logged
Bit of a strange question here i know. but i wanted to know if
Bit support question. Apologies for that. I have an application linked with GNU readline.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.