Java Language XJC

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

XJC is a Java SE tool that compiles an XML schema file into fully annotated Java classes.

It is distributed within the JDK package and is located at /bin/xjc path.

Syntax

  • xjc [ options ] schema file/URL/dir/jar ... [-b bindinfo ] ...

Parameters

ParameterDetails
schema fileThe xsd schema file to convert to java

Remarks

The XJC tool is available as part of the JDK. It allows creating java code annotated with JAXB annotations suitable for (un)marshalling.



Got any Java Language Question?