Top "Xjc" questions

XJC is a JAXB tool for compiling XSD (XML Schema) to Java source code.

Defining package names for common XSD's with xjc and bindings

I'm trying to generate Java classes from several specific XSD's with xjc. Those schemas have some definitions in common, so …

java xml xsd jaxb xjc
Add toString, hashCode, equals while generating JAXB classes in Java

I'm trying to generate JAXB classes from an XSD file programmatically, using Java. I've used the following code snippet to …

java jaxb xjc jaxb2-basics
How do I get xjc?

So I've been looking at interfacing with xml files for a project I've been working on, and one of the …

java xml xjc
How to deal with JAXB ComplexType with MixedContent data?

I got this XML structure: <Tax> <Money currency="USD">0.00</Money> <Description xml:lang="…

java xml xsd jaxb xjc
How can i remove namespace from the generated JAXB File?

Here is my code: xsdFile: <complexType name="Player"> <sequence> <element name="Login" type="string">&…

ant xsd jaxb xjc
How to generate *.xjb file from WSDL?

I have a WSDL file weatherservice.wsdl and I am trying to generate binding for this WSDL using xjc. How …

jaxb wsdl wsdl2java xjc xjb
Selecting nodes with XPath for binding a subset of classes with JAXB

Simplified Question: What's the XPath to select all XML nodes with an attribute that ends with the string "Notification". The …

xml xpath jaxb xsd xjc
JAXB - The schemaBindings customization is not associated with any schema element

I'm trying to generated Java classes from a set of XSD files using the Maven XJC plugin with a custom …

jaxb xjc maven-jaxb2-plugin
How to disable Java Naming Conventions in xjc?

For example sOmE_PROPerty in xsd must be sOmE_PROPerty in java class not someProperty. I tried to use globalBindings …

jaxb xjc
java.lang.ClassNotFoundException: com.sun.codemodel.CodeWriter with JDK9

[WARNING] The POM for org.glassfish.jaxb:jaxb-runtime:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable …

java jaxb xjc