| Package | Description |
|---|---|
| com.sun.codemodel |
Library for generating Java source code
|
| com.sun.tools.xjc |
Schema to Java compiler
|
| com.sun.tools.xjc.api |
API for programmatic invocation of XJC and schemagen.
|
| com.sun.tools.xjc.api.impl.s2j |
implementation of the XJC API for schema to java.
|
| com.sun.tools.xjc.generator.bean | |
| com.sun.tools.xjc.generator.util | |
| com.sun.tools.xjc.model |
Implementation of the
com.sun.xml.bind.v2.model.core package for XJC. |
| com.sun.tools.xjc.outline |
Provides the outline of the generated Java source code so that
additional processing (such as adding more annotations) can be
done on the generated code.
|
| com.sun.tools.xjc.reader |
Front-end that reads schema(s) and produce BGM.
|
| com.sun.tools.xjc.reader.relaxng | |
| com.sun.tools.xjc.reader.xmlschema |
| Modifier and Type | Method | Description |
|---|---|---|
JCodeModel |
JClass.owner() |
Gets the JCodeModel object to which this object belongs.
|
JCodeModel |
JClassContainer.owner() |
Get the root code model object.
|
protected JCodeModel |
JMethod.owner() |
|
JCodeModel |
JPackage.owner() |
Return the code model root object being used to create this package.
|
JCodeModel |
JPrimitiveType.owner() |
|
abstract JCodeModel |
JType.owner() |
Gets the owner code model object.
|
| Modifier and Type | Method | Description |
|---|---|---|
static JPrimitiveType |
JType.parse(JCodeModel codeModel,
java.lang.String typeName) |
Obtains a reference to the primitive type object from a type name.
|
| Constructor | Description |
|---|---|
JClass(JCodeModel _owner) |
|
JDocComment(JCodeModel owner) |
| Modifier and Type | Method | Description |
|---|---|---|
static Model |
ModelLoader.load(Options opt,
JCodeModel codeModel,
ErrorReceiver er) |
A convenience method to load schemas into a
Model. |
| Constructor | Description |
|---|---|
ModelLoader(Options _opt,
JCodeModel _codeModel,
ErrorReceiver er) |
| Modifier and Type | Method | Description |
|---|---|---|
JCodeModel |
S2JJAXBModel.generateCode(Plugin[] extensions,
ErrorListener errorListener) |
Generates artifacts.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected JCodeModel |
PropertyImpl.codeModel |
| Modifier and Type | Field | Description |
|---|---|---|
protected JCodeModel |
MethodWriter.codeModel |
| Modifier and Type | Method | Description |
|---|---|---|
JCodeModel |
BeanGenerator.getCodeModel() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract JExpression |
WhitespaceNormalizer.generate(JCodeModel codeModel,
JExpression literal) |
Generates the expression that normalizes
the given expression (which evaluates to java.lang.String).
|
| Modifier and Type | Field | Description |
|---|---|---|
JCodeModel |
Model.codeModel |
This model uses this code model exclusively.
|
| Constructor | Description |
|---|---|
CClassInfo(Model model,
JCodeModel cm,
java.lang.String fullName,
org.xml.sax.Locator location,
javax.xml.namespace.QName typeName,
javax.xml.namespace.QName elementName,
XSComponent source,
CCustomizations customizations) |
|
Model(Options opts,
JCodeModel cm,
NameConverter nc,
ClassNameAllocator allocator,
XSSchemaSet schemaComponent) |
|
SymbolSpace(JCodeModel _codeModel) |
| Modifier and Type | Method | Description |
|---|---|---|
JCodeModel |
Outline.getCodeModel() |
Short for
getModel().codeModel. |
| Modifier and Type | Method | Description |
|---|---|---|
static JType |
TypeUtil.getCommonBaseType(JCodeModel codeModel,
JType... t) |
Computes the common base type of types.
|
static JType |
TypeUtil.getCommonBaseType(JCodeModel codeModel,
java.util.Collection<? extends JType> types) |
Computes the common base type of two types.
|
static JType |
TypeUtil.getType(JCodeModel codeModel,
java.lang.String typeName,
ErrorReceiver errorHandler,
org.xml.sax.Locator errorSource) |
Obtains a
JType object for the string representation
of a type. |
| Modifier and Type | Method | Description |
|---|---|---|
static Model |
RELAXNGCompiler.build(DPattern grammar,
JCodeModel codeModel,
Options opts) |
| Constructor | Description |
|---|---|
RELAXNGCompiler(DPattern grammar,
JCodeModel codeModel,
Options opts) |
| Modifier and Type | Method | Description |
|---|---|---|
static Model |
BGMBuilder.build(XSSchemaSet _schemas,
JCodeModel codeModel,
ErrorReceiver _errorReceiver,
Options opts) |
Entry point.
|
Copyright © 2018 Oracle Corporation. All rights reserved.