There is next problem, i have similar class structure: class A { public String a; } class B extends A {
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Is there any way to map two links in a JAXB XML entity to different classes? Example: <restresource>
I have a java bean without any annotations. And I have a class inherited from this bean with JAXB annotations.
I am currently trying to use the XMLUnit library to compare two XML files. One of them, the candidate, is generated by my code from Java Objects (using JAXB) and the other one is the reference (I cann
unexpected element (uri:\"\", local:\"Group\"). Expected elements are <开发者_Go百科{}group>
I would like to marshall an object using JAXB, the problems is that I would like to marshall just some fields depending on some business logic. For example I have an object like this:
I\'m getting the following error after I generated the following class. Do I need to run xjc differently?
I\'m experiencing no problems while unmarshalling with MOXy. This is the XML, I\'ve unmarshalled. <eng><shape type=\"square\"><square-specific>dasdasdas</square-specific></
I have an object which is the return value for a web service method. One of its properties contains an XML document. Ideally, I\'d like to have JAX-B include that XML document verbatim in the web serv