I don't come along with the impl-Classes
I am able to marshall and unmarshall files without any problems.
I only have one question: How do I use the .impl.*-Classes correctly?
What I want to do: Per impl-class I have a self-written class that creates the data that should be stored in an xml-file. Now this self-created class should use the impl*-class (to be accurate: the getter/setter-methods) to set the data and my marshalling-class should marshall the data to a xml-file.
There are different people working on the different classes, so I need a solution that works independently from other classes.
What I tried until now:
Simulating the self-written classes I created a class which instantiates the impl-classes. Then I created new objects, added the values to them and finally I "added" the objects to the instance of the impl-class. Aftersward I called the marshall()-method.
That didn't work:
DefaultValidationEventHandler: [ERROR]: a required field "Fieldname" is missing an object
I thought about creating seperate ObjectFactories in each class, but I abandoned this theory.
I hope my questions are understandable :)
Thanks in advance,