| java.lang.Object java.io.Writer com.icesoft.jsfmeta.util.JavaSourceWriter
JavaSourceWriter | public class JavaSourceWriter extends Writer (Code) | | |
Method Summary | |
public void | close() | public void | emitCommentLine() | public void | emitCommentLine(String comment) | public void | emitExpression(String expr, boolean newline) | public void | emitExpressionPart(String expr) | public void | emitField(String type, String name, String value) | public void | emitImport(String name) | public void | emitJavaDoc() | public void | emitJavaDoc(String comment) | public void | emitJavaDoc(String comment, int width) | public void | emitJavaDocMultiLine(String comment) | public void | emitJavaString(String string) | public void | emitLicense() | public void | emitNewline() | public void | emitPackage(String name) | public void | emitStaticField(boolean isFinal, String type, String name, String expression) | public void | endClass() | public void | endJavaDoc() | public void | endMethod() | public void | endSource() | public void | flush() | public int | getCurrentIndent() | public void | indent() | public void | outdent() | public void | setIndentAmount(int indentAmount) | public void | setOutputWriter(Writer outputWriter) | public void | startClass(String name, String superClass, String interfaces) | public void | startClass(String name, String superClass, String interfaces, boolean _public, boolean _abstract) | public void | startJavaDoc() | public void | startMethod(String name, String retType, String parmTypes, String parmNames) | public void | startMethod(String name, String retType, String parmTypes, String parmNames, String scope) | public void | startSource() | public static String | toJavaString(String s) | public void | write(char cbuf, int off, int len) |
JavaSourceWriter | public JavaSourceWriter()(Code) | | |
getCurrentIndent | public int getCurrentIndent()(Code) | | |
indent | public void indent()(Code) | | |
outdent | public void outdent()(Code) | | |
setIndentAmount | public void setIndentAmount(int indentAmount)(Code) | | |
setOutputWriter | public void setOutputWriter(Writer outputWriter)(Code) | | |
|
|