Top "Jaxb" questions

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

Unmarshalling collections in JaxB

suppose I have this class: public class A { private HashMap<String, B> map; @XmlElement private void setB(ArrayList&…

java jaxb unmarshalling
What is an .episode file..?

what is a .episode file in JAXB..? Is it generated by the JAXB or is it a configuration file that …

java web-services jaxb
JAXB maven plugin not generating classes

I am trying to generate the java files from the XSD, but the below code doesn't generate. If I uncomment …

java maven jaxb xjc
javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException: Content is not allowed in prolog.]

Customer.java @Entity @Table(name = "CUSTOMER", uniqueConstraints = { @UniqueConstraint(columnNames = { "CUSTNO" }) }) @XmlRootElement public class Customer implements Serializable { /** * */ private static final long …

java rest binding jaxb saxparseexception
Create a common xsd generated class to be used by other packages

I am trying to use the same generated class but in separate packages. So the structure should look something like …

xsd jaxb xjc maven-jaxb2-plugin
Invalid XML Character During Unmarshall

I am marshalling objects to XML file using encoding "UTF-8". It generates file successfully. But when I try to unmarshal …

java xml-serialization jaxb unmarshalling
How tell which jdk contains which versions of JAX-WS

There's a fix in one of the more recent versions of JAXB (2.2.1). I'm trying to determine if that's included in …

jaxb jax-ws java
Maven JAXB2 XJC plugin: M2E plugin execution not covered

I am using using the jaxb2 xjc plugin for generating java files from a XSD. Therefore I used to configure …

java maven jaxb xjc maven-jaxb2-plugin
Specify @XmlJavaTypeAdapter class via bindings file?

I have a 3rd party interface that supplies xsd files that matches their API. Some of their mappings are not …

jaxb xjc
How to compile multiple xsd files in Gradle JAXB/XJC?

I'm fairly new to Gradle and I am facing some issues trying to compile multiple schema files using Gradle Ant …

ant jaxb gradle schema xjc