| |
|
| java.lang.Object com.google.gwt.user.rebind.ClassSourceFileComposerFactory
ClassSourceFileComposerFactory | public class ClassSourceFileComposerFactory (Code) | | Factory clas to create ClassSourceFileComposer instances.
|
Inner Class :public static class JavaSourceCategory extends Enum | |
ClassSourceFileComposerFactory | public ClassSourceFileComposerFactory(String packageName, String className)(Code) | | |
addImplementedInterface | public void addImplementedInterface(String intfName)(Code) | | |
createSourceWriter | public SourceWriter createSourceWriter(GeneratorContext ctx, PrintWriter printWriter)(Code) | | Creates an implementation of
SourceWriter that can be used to write
the innards of a class. Note that the subsequent changes to this factory do
not affect the returned instance.
throws: RuntimeException - If the settings on this factory are inconsistentor invalid |
createSourceWriter | public SourceWriter createSourceWriter(PrintWriter printWriter)(Code) | | Creates an implementation of
SourceWriter that can be used to write
the innards of a class. Note that the subsequent changes to this factory do
not affect the returned instance.
Parameters: printWriter - underlying writer the source writer throws: RuntimeException - If the settings on this factory are inconsistentor invalid |
getCreatedClassName | public String getCreatedClassName()(Code) | | |
getCreatedClassShortName | public String getCreatedClassShortName()(Code) | | |
makeInterface | public void makeInterface()(Code) | | This class is an interface.
|
setJavaDocCommentForClass | public void setJavaDocCommentForClass(String comment)(Code) | | Sets the java doc comment for this .
Parameters: comment - java doc comment. |
setSuperclass | public void setSuperclass(String superclassName)(Code) | | |
|
|
|