Uses of Class
com.sun.codemodel.JPackage

Packages that use JPackage
com.sun.codemodel Library for generating Java source code 
com.sun.codemodel.fmt Various resource file formats (classes that implement JResourceFile). 
com.sun.codemodel.writer   
 

Uses of JPackage in com.sun.codemodel
 

Methods in com.sun.codemodel that return JPackage
 JPackage JTypeVar._package()
           
 JPackage JDefinedClass._package()
           
 JPackage JNullType._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 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(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
 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
 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.
 

Uses of JPackage in com.sun.codemodel.fmt
 

Constructors in com.sun.codemodel.fmt with parameters of type JPackage
JStaticJavaFile(JPackage _pkg, String className, String _resourceName)
           
JStaticJavaFile(JPackage _pkg, String _className, URL _source, JStaticJavaFile.LineFilter _filter)
           
 

Uses of JPackage in com.sun.codemodel.writer
 

Methods in com.sun.codemodel.writer with parameters of type JPackage
protected  File FileCodeWriter.getFile(JPackage pkg, String fileName)
           
 OutputStream ZipCodeWriter.openBinary(JPackage pkg, String fileName)
           
 OutputStream ProgressCodeWriter.openBinary(JPackage pkg, String fileName)
           
 OutputStream SingleStreamCodeWriter.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)
           
 



Copyright © 2005-2012 Oracle. All Rights Reserved.