Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
com.sun.codemodel.fmt | |
com.sun.codemodel.writer | |
com.sun.tools.xjc.generator.bean | |
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.dtd.bindinfo |
Object Model that represents DTD binding information.
|
com.sun.tools.xjc.reader.xmlschema |
Modifier and Type | Method and Description |
---|---|
JPackage |
JTypeVar._package() |
JPackage |
JNullType._package() |
JPackage |
JDefinedClass._package() |
abstract JPackage |
JClass._package()
Gets the package to which this class belongs.
|
JPackage |
JCodeModel._package(String name)
Add a package to the list of packages to be generated.
|
JPackage |
JPackage.getPackage() |
JPackage |
JDefinedClass.getPackage() |
JPackage |
JClassContainer.getPackage()
Gets the nearest package parent.
|
JPackage |
JPackage.parent()
Gets the parent package, or null if this class is the root package.
|
JPackage |
JCodeModel.rootPackage() |
JPackage |
JPackage.subPackage(String pkg)
Gets a reference to a sub package of this package.
|
Modifier and Type | Method and Description |
---|---|
Iterator<JPackage> |
JCodeModel.packages()
Returns an iterator that walks the packages defined using this code
writer.
|
Modifier and Type | Method and Description |
---|---|
void |
JModule._exports(JPackage pkg)
Adds a package to the list of Java module exports.
|
int |
JPackage.compareTo(JPackage that)
Order is based on the lexicological order of the package name.
|
abstract OutputStream |
CodeWriter.openBinary(JPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
Writer |
CodeWriter.openSource(JPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
Modifier and Type | Method and Description |
---|---|
void |
JModule._exports(Collection<JPackage> pkgs,
boolean addEmpty)
Adds packages to the list of Java module exports.
|
Constructor and Description |
---|
JStaticJavaFile(JPackage _pkg,
String _className,
Class<?> loadingClass,
JStaticJavaFile.LineFilter _filter) |
Modifier and Type | Method and Description |
---|---|
protected File |
FileCodeWriter.getFile(JPackage pkg,
String fileName) |
OutputStream |
ZipCodeWriter.openBinary(JPackage pkg,
String fileName) |
OutputStream |
SingleStreamCodeWriter.openBinary(JPackage pkg,
String fileName) |
OutputStream |
ProgressCodeWriter.openBinary(JPackage pkg,
String fileName) |
OutputStream |
OutputStreamCodeWriter.openBinary(JPackage pkg,
String fileName) |
OutputStream |
FilterCodeWriter.openBinary(JPackage pkg,
String fileName) |
OutputStream |
FileCodeWriter.openBinary(JPackage pkg,
String fileName) |
Writer |
PrologCodeWriter.openSource(JPackage pkg,
String fileName) |
Writer |
ProgressCodeWriter.openSource(JPackage pkg,
String fileName) |
Writer |
FilterCodeWriter.openSource(JPackage pkg,
String fileName) |
Modifier and Type | Method and Description |
---|---|
JPackage |
PackageOutlineImpl._package() |
protected abstract JPackage |
ImplStructureStrategy.getPackage(JPackage pkg,
Aspect a)
Gets the specified aspect of the given package.
|
JPackage[] |
BeanGenerator.getUsedPackages(Aspect aspect)
Returns all used JPackages.
|
Modifier and Type | Method and Description |
---|---|
JClass |
BeanGenerator.generateStaticClass(Class src,
JPackage out) |
protected abstract JPackage |
ImplStructureStrategy.getPackage(JPackage pkg,
Aspect a)
Gets the specified aspect of the given package.
|
PackageOutlineImpl |
BeanGenerator.getPackageContext(JPackage p) |
Constructor and Description |
---|
PackageOutlineImpl(BeanGenerator outline,
Model model,
JPackage _pkg) |
Modifier and Type | Field and Description |
---|---|
JPackage |
CClassInfoParent.Package.pkg |
Modifier and Type | Method and Description |
---|---|
JPackage |
CElementInfo._package() |
JPackage |
CElementInfo.getOwnerPackage() |
JPackage |
CClassInfoParent.getOwnerPackage()
Gets the nearest
JPackage . |
JPackage |
CClassInfoParent.Package.getOwnerPackage() |
JPackage |
CClassInfo.getOwnerPackage() |
Modifier and Type | Method and Description |
---|---|
CClassInfoParent.Package |
Model.getPackage(JPackage pkg) |
T |
CClassInfoParent.Visitor.onPackage(JPackage pkg) |
Constructor and Description |
---|
CClassInfo(Model model,
JPackage pkg,
String shortName,
Locator location,
QName typeName,
QName elementName,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations) |
Package(JPackage pkg) |
Modifier and Type | Method and Description |
---|---|
JPackage |
PackageOutline._package()
The exposed package this context is representing.
|
Modifier and Type | Method and Description |
---|---|
PackageOutline |
Outline.getPackageContext(JPackage _Package)
Gets per-package context information.
|
Modifier and Type | Method and Description |
---|---|
JPackage |
BindInfo.getTargetPackage()
Gets the specified package name (options/@package).
|
Modifier and Type | Method and Description |
---|---|
JPackage |
ClassSelector.getPackage(String targetNamespace)
Gets the Java package to which classes from
this namespace should go.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.