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 and Description |
---|---|
abstract JCodeModel |
JType.owner()
Gets the owner code model object.
|
JCodeModel |
JPrimitiveType.owner() |
JCodeModel |
JPackage.owner()
Return the code model root object being used to create this package.
|
protected JCodeModel |
JMethod.owner() |
JCodeModel |
JClassContainer.owner()
Get the root code model object.
|
JCodeModel |
JClass.owner()
Gets the JCodeModel object to which this object belongs.
|
Modifier and Type | Method and Description |
---|---|
static JPrimitiveType |
JType.parse(JCodeModel codeModel,
String typeName)
Obtains a reference to the primitive type object from a type name.
|
Constructor and Description |
---|
JClass(JCodeModel _owner) |
JDocComment(JCodeModel owner) |
Modifier and Type | Method and Description |
---|---|
static Model |
ModelLoader.load(Options opt,
JCodeModel codeModel,
ErrorReceiver er)
A convenience method to load schemas into a
Model . |
Constructor and Description |
---|
ModelLoader(Options _opt,
JCodeModel _codeModel,
ErrorReceiver er) |
Modifier and Type | Method and Description |
---|---|
JCodeModel |
S2JJAXBModel.generateCode(Plugin[] extensions,
ErrorListener errorListener)
Generates artifacts.
|
Modifier and Type | Field and Description |
---|---|
protected JCodeModel |
PropertyImpl.codeModel |
Modifier and Type | Field and Description |
---|---|
protected JCodeModel |
MethodWriter.codeModel |
Modifier and Type | Method and Description |
---|---|
JCodeModel |
BeanGenerator.getCodeModel() |
Modifier and Type | Method and 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 and Description |
---|---|
JCodeModel |
Model.codeModel
This model uses this code model exclusively.
|
Constructor and Description |
---|
CClassInfo(Model model,
JCodeModel cm,
String fullName,
Locator location,
QName typeName,
QName elementName,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations) |
Model(Options opts,
JCodeModel cm,
NameConverter nc,
ClassNameAllocator allocator,
com.sun.xml.xsom.XSSchemaSet schemaComponent) |
SymbolSpace(JCodeModel _codeModel) |
Modifier and Type | Method and Description |
---|---|
JCodeModel |
Outline.getCodeModel()
Short for
getModel().codeModel . |
Modifier and Type | Method and Description |
---|---|
static JType |
TypeUtil.getCommonBaseType(JCodeModel codeModel,
Collection<? extends JType> types)
Computes the common base type of two types.
|
static JType |
TypeUtil.getCommonBaseType(JCodeModel codeModel,
JType... t)
Computes the common base type of types.
|
static JType |
TypeUtil.getType(JCodeModel codeModel,
String typeName,
ErrorReceiver errorHandler,
Locator errorSource)
Obtains a
JType object for the string representation
of a type. |
Modifier and Type | Method and Description |
---|---|
static Model |
RELAXNGCompiler.build(DPattern grammar,
JCodeModel codeModel,
Options opts) |
Constructor and Description |
---|
RELAXNGCompiler(DPattern grammar,
JCodeModel codeModel,
Options opts) |
Modifier and Type | Method and Description |
---|---|
static Model |
BGMBuilder.build(com.sun.xml.xsom.XSSchemaSet _schemas,
JCodeModel codeModel,
ErrorReceiver _errorReceiver,
Options opts)
Entry point.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.