Top Description Classes Enums
module com.sun.xml.bind.osgi

Package com.sun.tools.xjc


Schema to Java compiler

.

This module contains the code that implements the schema compiler 'XJC'.

Overview

XJC consists of the following major components.

Schema reader
Schema readers read XML Schema documents (or DTD, RELAX NG, ...) and builds a model.
Model
Model represents the 'blueprint' of the code to be generated. Model talks in terms of higher level constructs like 'class' and 'property' without getting too much into the details of the Java source code.
Code generator
Code generators use a model as an input and builds Java code AST into CodeModel. It also produces an com.sun.tools.xjc.outline.Outline which captures this work.
Outline
Outline can be thought as a series of links between a model and CodeModel.

Class Summary

Modifier and TypeClass and Description
public class
AbortException

Signals the abortion of the compilation.

public class
BadCommandLineException

Signals a bad command line argument.

pack-priv class
public class
public class
Driver

Command Line Interface of XJC.

public abstract class
ErrorReceiver

Implemented by the driver of the compiler engine to handle errors found during the compiliation.

pack-priv class
public class
Messages

Formats error messages.

public class
ModelLoader

Builds a Model object.

public class
Options

Global options.

public abstract class
Plugin

Add-on that works on the generated source code.

pack-priv class
ProgressCodeWriter

CodeWriter that reports progress to XJCListener.

public class
SchemaCache

Wraps a JAXP Schema object and lazily instantiate it.

pack-priv class
SecureLoader

Class defined for safe calls of getClassLoader methods of any kind (context/system/class classloader.

public class
XJC2Task

XJC task for Ant.

public class
public class
XJCFacade

A shabby driver to invoke XJC1 or XJC2 depending on the command line switch.

public abstract class
XJCListener

Call-back interface that can be implemented by the caller of Driver to receive output from XJC.

public class
XJCTask

Captures the properties and then delegate to XJC1 or XJC2 by looking at the source attribute.

Enum Summary

Modifier and TypeEnum and Description
public enum
Language

Type of the schema language.