Uses of Class
com.sun.codemodel.JCodeModel
Packages that use JCodeModel
Package
Description
Library for generating Java source code
Reads RELAX NG grammar from RNGOM and builds the model for TXW.
Schema to Java compiler
API for programmatic invocation of XJC and schemagen.
implementation of the XJC API for schema to java.
FieldRenderer and its implementation classes.
Implementation of the
com.sun.xml.bind.v2.model.core
package for XJC.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.
Front-end that reads schema(s) and produce BGM.
-
Uses of JCodeModel in com.sun.codemodel
Methods in com.sun.codemodel that return JCodeModelModifier and TypeMethodDescriptionfinal JCodeModel
JClass.owner()
Gets the JCodeModel object to which this object belongs.JClassContainer.owner()
Get the root code model object.protected JCodeModel
JMethod.owner()
final JCodeModel
JPackage.owner()
Return the code model root object being used to create this package.JPrimitiveType.owner()
abstract JCodeModel
JType.owner()
Gets the owner code model object.Methods in com.sun.codemodel with parameters of type JCodeModelModifier and TypeMethodDescriptionstatic JPrimitiveType
JType.parse
(JCodeModel codeModel, String typeName) Obtains a reference to the primitive type object from a type name.Constructors in com.sun.codemodel with parameters of type JCodeModel -
Uses of JCodeModel in com.sun.tools.txw2
Fields in com.sun.tools.txw2 declared as JCodeModel -
Uses of JCodeModel in com.sun.tools.txw2.builder.relaxng
Constructors in com.sun.tools.txw2.builder.relaxng with parameters of type JCodeModelModifierConstructorDescriptionDatatypeFactory
(JCodeModel codeModel) SchemaBuilderImpl
(JCodeModel codeModel) -
Uses of JCodeModel in com.sun.tools.xjc
Methods in com.sun.tools.xjc with parameters of type JCodeModelModifier and TypeMethodDescriptionstatic Model
ModelLoader.load
(Options opt, JCodeModel codeModel, ErrorReceiver er) A convenience method to load schemas into aModel
.Constructors in com.sun.tools.xjc with parameters of type JCodeModel -
Uses of JCodeModel in com.sun.tools.xjc.api
Methods in com.sun.tools.xjc.api that return JCodeModelModifier and TypeMethodDescriptionS2JJAXBModel.generateCode
(Plugin[] extensions, ErrorListener errorListener) Generates artifacts. -
Uses of JCodeModel in com.sun.tools.xjc.api.impl.s2j
Fields in com.sun.tools.xjc.api.impl.s2j declared as JCodeModel -
Uses of JCodeModel in com.sun.tools.xjc.generator.bean
Fields in com.sun.tools.xjc.generator.bean declared as JCodeModelMethods in com.sun.tools.xjc.generator.bean that return JCodeModel -
Uses of JCodeModel in com.sun.tools.xjc.generator.bean.field
Fields in com.sun.tools.xjc.generator.bean.field declared as JCodeModelModifier and TypeFieldDescriptionprotected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
protected final JCodeModel
AbstractField.codeModel
-
Uses of JCodeModel in com.sun.tools.xjc.generator.util
Methods in com.sun.tools.xjc.generator.util with parameters of type JCodeModelModifier and TypeMethodDescriptionabstract JExpression
WhitespaceNormalizer.generate
(JCodeModel codeModel, JExpression literal) Generates the expression that normalizes the given expression (which evaluates to java.lang.String). -
Uses of JCodeModel in com.sun.tools.xjc.model
Fields in com.sun.tools.xjc.model declared as JCodeModelModifier and TypeFieldDescriptionfinal JCodeModel
Model.codeModel
This model uses this code model exclusively.Constructors in com.sun.tools.xjc.model with parameters of type JCodeModelModifierConstructorDescriptionCClassInfo
(Model model, JCodeModel cm, String fullName, Locator location, QName typeName, QName elementName, XSComponent source, CCustomizations customizations) Model
(Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent) SymbolSpace
(JCodeModel _codeModel) -
Uses of JCodeModel in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline that return JCodeModel -
Uses of JCodeModel in com.sun.tools.xjc.reader
Methods in com.sun.tools.xjc.reader with parameters of type JCodeModelModifier and TypeMethodDescriptionstatic JType
TypeUtil.getCommonBaseType
(JCodeModel codeModel, JType... t) Computes the common base type of types.static JType
TypeUtil.getCommonBaseType
(JCodeModel codeModel, Collection<? extends JType> types) Computes the common base type of two types.static JType
TypeUtil.getType
(JCodeModel codeModel, String typeName, ErrorReceiver errorHandler, Locator errorSource) Obtains aJType
object for the string representation of a type. -
Uses of JCodeModel in com.sun.tools.xjc.reader.relaxng
Methods in com.sun.tools.xjc.reader.relaxng with parameters of type JCodeModelModifier and TypeMethodDescriptionstatic Model
RELAXNGCompiler.build
(DPattern grammar, JCodeModel codeModel, Options opts) Constructors in com.sun.tools.xjc.reader.relaxng with parameters of type JCodeModelModifierConstructorDescriptionRELAXNGCompiler
(DPattern grammar, JCodeModel codeModel, Options opts) -
Uses of JCodeModel in com.sun.tools.xjc.reader.xmlschema
Methods in com.sun.tools.xjc.reader.xmlschema with parameters of type JCodeModelModifier and TypeMethodDescriptionstatic Model
BGMBuilder.build
(XSSchemaSet _schemas, JCodeModel codeModel, ErrorReceiver _errorReceiver, Options opts) Entry point.