Uses of Class
com.sun.codemodel.JPackage

Packages that use JPackage
com.sun.codemodel Library for generating Java source code 
com.sun.codemodel.fmt   
com.sun.codemodel.writer   
 

Uses of JPackage in com.sun.codemodel
 

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

Uses of JPackage in com.sun.codemodel.fmt
 

Constructors in com.sun.codemodel.fmt with parameters of type JPackage
JStaticJavaFile(JPackage _pkg, java.lang.String className, java.lang.String _resourceName)
           
JStaticJavaFile(JPackage _pkg, java.lang.String _className, java.net.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  java.io.File FileCodeWriter.getFile(JPackage pkg, java.lang.String fileName)
           
 java.io.OutputStream ZipCodeWriter.openBinary(JPackage pkg, java.lang.String fileName)
           
 java.io.OutputStream ProgressCodeWriter.openBinary(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 SingleStreamCodeWriter.openBinary(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)
           
 java.io.Writer FilterCodeWriter.openSource(JPackage pkg, java.lang.String fileName)
           
 



Copyright © 2005-2009 Sun Microsystems. All Rights Reserved.