Looking for java Answers? Try Ask4KnowledgeBase
Looking for java Keywords? Try Ask4Keywords

Java LanguageXJC


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.