|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.codegen.server.SourceWriterBase com.google.gwt.codegen.server.JavaSourceWriter
public class JavaSourceWriter
A mechanism to write Java source files.
Experimental API - subject to change.
Constructor Summary | |
---|---|
JavaSourceWriter(AbortablePrintWriter printWriter,
java.lang.String targetPackageName,
java.lang.Iterable<java.lang.String> imports,
boolean isClass,
java.lang.String classJavaDocComment,
java.lang.Iterable<java.lang.String> annotationDeclarations,
java.lang.String targetClassShortName,
java.lang.String superClassName,
java.lang.Iterable<java.lang.String> interfaceNames)
|
Method Summary | |
---|---|
void |
abort()
Abort the source file being generated. |
void |
close()
Close the source file being generated. |
protected void |
writeString(java.lang.String s)
Write a string to the underlying output. |
Methods inherited from class com.google.gwt.codegen.server.SourceWriterBase |
---|
beginJavaDocComment, endJavaDocComment, indent, indentln, indentln, outdent, print, print, println, println, println |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSourceWriter(AbortablePrintWriter printWriter, java.lang.String targetPackageName, java.lang.Iterable<java.lang.String> imports, boolean isClass, java.lang.String classJavaDocComment, java.lang.Iterable<java.lang.String> annotationDeclarations, java.lang.String targetClassShortName, java.lang.String superClassName, java.lang.Iterable<java.lang.String> interfaceNames)
printWriter
- targetPackageName
- imports
- isClass
- classJavaDocComment
- annotationDeclarations
- targetClassShortName
- superClassName
- interfaceNames
- Method Detail |
---|
public void abort()
SourceWriter
abort
in interface SourceWriter
abort
in class SourceWriterBase
public void close()
SourceWriter
close
in interface SourceWriter
close
in class SourceWriterBase
protected void writeString(java.lang.String s)
SourceWriterBase
writeString
in class SourceWriterBase
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |