Uses of Class
com.sun.codemodel.JPackage
Packages that use JPackage
Package
Description
Library for generating Java source code
Various resource file formats (classes that implement
JResourceFile
).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.
Object Model that represents DTD binding information.
-
Uses of JPackage in com.sun.codemodel
Methods in com.sun.codemodel that return JPackageModifier and TypeMethodDescriptionabstract JPackage
JClass._package()
Gets the package to which this class belongs.Add a package to the list of packages to be generated.final JPackage
JDefinedClass._package()
JNullType._package()
JTypeVar._package()
JClassContainer.getPackage()
Gets the nearest package parent.JDefinedClass.getPackage()
JPackage.getPackage()
JPackage.parent()
Gets the parent package, or null if this class is the root package.final JPackage
JCodeModel.rootPackage()
JPackage.subPackage
(String pkg) Gets a reference to a sub package of this package.Methods in com.sun.codemodel that return types with arguments of type JPackageModifier and TypeMethodDescriptionJCodeModel.packages()
Returns an iterator that walks the packages defined using this code writer.Methods in com.sun.codemodel with parameters of type JPackageModifier and TypeMethodDescriptionvoid
Adds a package to the list of Java module exports.int
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.CodeWriter.openSource
(JPackage pkg, String fileName) Called by CodeModel to store the specified file.Method parameters in com.sun.codemodel with type arguments of type JPackageModifier and TypeMethodDescriptionvoid
JModule._exports
(Collection<JPackage> pkgs, boolean addEmpty) Adds packages to the list of Java module exports. -
Uses of JPackage in com.sun.codemodel.fmt
Constructors in com.sun.codemodel.fmt with parameters of type JPackageModifierConstructorDescriptionJStaticJavaFile
(JPackage _pkg, String _className, Class<?> loadingClass, JStaticJavaFile.LineFilter _filter) -
Uses of JPackage in com.sun.codemodel.writer
Methods in com.sun.codemodel.writer with parameters of type JPackageModifier and TypeMethodDescriptionprotected File
FileCodeWriter.openBinary
(JPackage pkg, String fileName) FilterCodeWriter.openBinary
(JPackage pkg, String fileName) OutputStreamCodeWriter.openBinary
(JPackage pkg, String fileName) ProgressCodeWriter.openBinary
(JPackage pkg, String fileName) SingleStreamCodeWriter.openBinary
(JPackage pkg, String fileName) ZipCodeWriter.openBinary
(JPackage pkg, String fileName) FilterCodeWriter.openSource
(JPackage pkg, String fileName) ProgressCodeWriter.openSource
(JPackage pkg, String fileName) PrologCodeWriter.openSource
(JPackage pkg, String fileName) -
Uses of JPackage in com.sun.tools.txw2
Fields in com.sun.tools.txw2 declared as JPackage -
Uses of JPackage in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JPackageModifier and TypeMethodDescriptionPackageOutlineImpl._package()
protected abstract JPackage
ImplStructureStrategy.getPackage
(JPackage pkg, Aspect a) Gets the specified aspect of the given package.final JPackage[]
BeanGenerator.getUsedPackages
(Aspect aspect) Returns all used JPackages.Methods in com.sun.tools.xjc.generator.bean with parameters of type JPackageModifier and TypeMethodDescriptionBeanGenerator.generateStaticClass
(Class src, JPackage out) protected abstract JPackage
ImplStructureStrategy.getPackage
(JPackage pkg, Aspect a) Gets the specified aspect of the given package.BeanGenerator.getPackageContext
(JPackage p) Constructors in com.sun.tools.xjc.generator.bean with parameters of type JPackageModifierConstructorDescriptionprotected
PackageOutlineImpl
(BeanGenerator outline, Model model, JPackage _pkg) -
Uses of JPackage in com.sun.tools.xjc.model
Fields in com.sun.tools.xjc.model declared as JPackageMethods in com.sun.tools.xjc.model that return JPackageModifier and TypeMethodDescriptionfinal JPackage
CElementInfo._package()
CClassInfo.getOwnerPackage()
CClassInfoParent.getOwnerPackage()
Gets the nearestJPackage
.CClassInfoParent.Package.getOwnerPackage()
CElementInfo.getOwnerPackage()
Methods in com.sun.tools.xjc.model with parameters of type JPackageConstructors in com.sun.tools.xjc.model with parameters of type JPackageModifierConstructorDescriptionCClassInfo
(Model model, JPackage pkg, String shortName, Locator location, QName typeName, QName elementName, XSComponent source, CCustomizations customizations) -
Uses of JPackage in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline that return JPackageModifier and TypeMethodDescriptionPackageOutline._package()
The exposed package this context is representing.Methods in com.sun.tools.xjc.outline with parameters of type JPackageModifier and TypeMethodDescriptionOutline.getPackageContext
(JPackage _Package) Gets per-package context information. -
Uses of JPackage in com.sun.tools.xjc.reader.dtd.bindinfo
Methods in com.sun.tools.xjc.reader.dtd.bindinfo that return JPackageModifier and TypeMethodDescriptionBindInfo.getTargetPackage()
Gets the specified package name (options/@package). -
Uses of JPackage in com.sun.tools.xjc.reader.xmlschema
Methods in com.sun.tools.xjc.reader.xmlschema that return JPackageModifier and TypeMethodDescriptionClassSelector.getPackage
(String targetNamespace) Gets the Java package to which classes from this namespace should go.