Uses of Class
com.sun.codemodel.JPackage
-
Packages that use JPackage Package Description com.sun.codemodel Library for generating Java source codecom.sun.codemodel.fmt Various resource file formats (classes that implementJResourceFile
).com.sun.codemodel.writer com.sun.tools.txw2 com.sun.tools.xjc.generator.bean com.sun.tools.xjc.model Implementation of thecom.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 -
-
Uses of JPackage in com.sun.codemodel
Methods in com.sun.codemodel that return JPackage Modifier and Type Method Description abstract JPackage
JClass. _package()
Gets the package to which this class belongs.JPackage
JCodeModel. _package(java.lang.String name)
Add a package to the list of packages to be generated.JPackage
JDefinedClass. _package()
JPackage
JNullType. _package()
JPackage
JTypeVar. _package()
JPackage
JClassContainer. getPackage()
Gets the nearest package parent.JPackage
JDefinedClass. getPackage()
JPackage
JPackage. getPackage()
JPackage
JPackage. parent()
Gets the parent package, or null if this class is the root package.JPackage
JCodeModel. rootPackage()
JPackage
JPackage. subPackage(java.lang.String pkg)
Gets a reference to a sub package of this package.Methods in com.sun.codemodel that return types with arguments of type JPackage Modifier and Type Method Description java.util.Iterator<JPackage>
JCodeModel. packages()
Returns an iterator that walks the packages defined using this code writer.Methods in com.sun.codemodel with parameters of type JPackage Modifier and Type Method 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 java.io.OutputStream
CodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
Called by CodeModel to store the specified file.java.io.Writer
CodeWriter. openSource(JPackage pkg, java.lang.String fileName)
Called by CodeModel to store the specified file.Method parameters in com.sun.codemodel with type arguments of type JPackage Modifier and Type Method Description void
JModule. _exports(java.util.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 JPackage Constructor Description JStaticJavaFile(JPackage _pkg, java.lang.String _className, java.lang.Class<?> loadingClass, JStaticJavaFile.LineFilter _filter)
-
Uses of JPackage in com.sun.codemodel.writer
Methods in com.sun.codemodel.writer with parameters of type JPackage Modifier and Type Method Description protected java.io.File
FileCodeWriter. getFile(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
FileCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
FilterCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
OutputStreamCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
ProgressCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
SingleStreamCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.OutputStream
ZipCodeWriter. openBinary(JPackage pkg, java.lang.String fileName)
java.io.Writer
FilterCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
java.io.Writer
ProgressCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
java.io.Writer
PrologCodeWriter. openSource(JPackage pkg, java.lang.String fileName)
-
Uses of JPackage in com.sun.tools.txw2
Fields in com.sun.tools.txw2 declared as JPackage Modifier and Type Field Description JPackage
TxwOptions. _package
The package to put the generated code into. -
Uses of JPackage in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JPackage Modifier and Type Method 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.Methods in com.sun.tools.xjc.generator.bean with parameters of type JPackage Modifier and Type Method Description JClass
BeanGenerator. generateStaticClass(java.lang.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)
Constructors in com.sun.tools.xjc.generator.bean with parameters of type JPackage Constructor Description 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 JPackage Modifier and Type Field Description JPackage
CClassInfoParent.Package. pkg
Methods in com.sun.tools.xjc.model that return JPackage Modifier and Type Method Description JPackage
CElementInfo. _package()
JPackage
CClassInfo. getOwnerPackage()
JPackage
CClassInfoParent. getOwnerPackage()
Gets the nearestJPackage
.JPackage
CClassInfoParent.Package. getOwnerPackage()
JPackage
CElementInfo. getOwnerPackage()
Methods in com.sun.tools.xjc.model with parameters of type JPackage Modifier and Type Method Description CClassInfoParent.Package
Model. getPackage(JPackage pkg)
T
CClassInfoParent.Visitor. onPackage(JPackage pkg)
Constructors in com.sun.tools.xjc.model with parameters of type JPackage Constructor Description CClassInfo(Model model, JPackage pkg, java.lang.String shortName, org.xml.sax.Locator location, javax.xml.namespace.QName typeName, javax.xml.namespace.QName elementName, XSComponent source, CCustomizations customizations)
Package(JPackage pkg)
-
Uses of JPackage in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline that return JPackage Modifier and Type Method Description JPackage
PackageOutline. _package()
The exposed package this context is representing.Methods in com.sun.tools.xjc.outline with parameters of type JPackage Modifier and Type Method Description PackageOutline
Outline. 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 JPackage Modifier and Type Method Description JPackage
BindInfo. 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 JPackage Modifier and Type Method Description JPackage
ClassSelector. getPackage(java.lang.String targetNamespace)
Gets the Java package to which classes from this namespace should go.
-