Top "Jaxb" questions

Java Architecture for XML Binding is the Java standard for working with XML as domain objects.

Understanding JAXB @XmlRootElement annotation

I am using the tutorial here for understanding JAXB. When the writer comes to create the root of the document, …

java xml xsd jaxb marshalling
javax.xml.bind.JAXBException Implementation of JAXB-API has not been found on module path or classpath

I'm trying to run my Spring Boot application on Java 9, and I've faced with JAXB problem, which described in the …

xml exception jaxb bind java-9
How to serialize and de-serialize objects using JAXB?

I have an issue. I want to convert an object into another object using JAXB. As in, I have a …

java jaxb
JAXB: How to change XJC-generated classes names when attr type is specified in XSD?

I'm a beginner to JAXB and I'm having annoying issues when generating Java classes with xjc. I am provided with …

types xsd jaxb xjc
JAXB inheritance, unmarshal to subclass of marshaled class

I'm using JAXB to read and write XML. What I want is to use a base JAXB class for marshalling …

java xml jaxb
JAXB - Property "Value" is already defined. Use <jaxb:property> to resolve this conflict

Using JAXB to generate XML binding classes. The schema is based on a set of legacy XML files, and includes …

java xsd jaxb
Remove namespace prefix while JAXB marshalling

I have JAXB objects created from a schema. While marshalling, the xml elements are getting annotated with ns2. I have …

namespaces jaxb marshalling prefix
JAXB: How should I marshal complex nested data structures?

I have several complex data structures like Map< A, Set< B > > Set< Map< A, …

java xml data-binding data-structures jaxb
jaxb unmarshal timestamp

I cannot get JAXB to unmarshal a timestamp in a Resteasy JAX-RS server application. My class looks like this: @XmlAccessorType(…

java datetime jaxb
Marshalling a List of objects implementing a common interface, with JaxB

I am trying to marshall a list of objects implementing a common interface. There are 3 classes and 1 interface involved: Community …

java xml jaxb