jaxb2-basics Questions
7
Solved
The code I'm working on is using jaxb2-maven-plugin from org.codehaus.mojo to generate Java classes from XSD schema. I'm looking for a way to automatically implement equals() and hashCode() methods...
Armhole asked 30/1, 2012 at 10:37
3
Solved
I'm trying to generate JAXB classes from an XSD file programmatically, using Java. I've used the following code snippet to achieve that:
....
import java.io.File;
import java.io.IOException;
impor...
Quibbling asked 1/9, 2015 at 14:33
2
I am using WsImport to generate some Java sources from a remote WSDL file. Note that this is being from inside a regular Scala project i.e. it is not being done in a Maven or Ant build:
import com...
Ebenezer asked 3/10, 2017 at 18:5
1
Solved
I have a xsd schema from which I'm generating some java classes. I'm using jaxb for the generation.
I want to be able to generate a class annotated with @XmlRootElement, but I want the @XmlRootEle...
Lour asked 24/10, 2014 at 8:57
1
Solved
I tried the solution of the question here JAXB Simplify plugin vs *.xjb.
but it failed with the following exception
" compiler was unable to honor this simplify:as-element-property customization....
Samp asked 23/10, 2014 at 8:23
2
Solved
Use case:
Wanna insert custom annotation to fields in java class generated by JAXB
Problem:
Using Annotate plugin + JAXB [1], am able to successfully insert custom annotations but they are getti...
Recidivate asked 21/3, 2012 at 6:49
1
Solved
The method signature of ObjectOutputStream's write method is
public final void writeObject(Object obj) throws IOException
As obj should implements Serializable (know about markers).
Why java d...
Gilchrist asked 17/6, 2013 at 9:48
7
Solved
I'm currently using JAXB to generate java classes in order to unmarshall XML. Now I would like to create a new schema very similar to the first and have the classes that are generated implement the...
Givens asked 13/8, 2009 at 13:32
1
© 2022 - 2024 — McMap. All rights reserved.