| java.lang.Object java.io.Writer org.netbeans.modules.schema2beansdev.gen.GenBuffer org.netbeans.modules.schema2beansdev.gen.IndentingWriter org.netbeans.modules.schema2beansdev.gen.JavaWriter
Inner Class :public static class Method implements Comparable | |
Method Summary | |
public void | addToMethodStore(String name, String parameters, String exceptions, String returnType) | public void | addToMethodStore(String name, String parameters, String exceptions, String returnType, int options) | public void | begin() | public void | beginConstructor(String name) | public void | beginConstructor(String name, String parameters) | public void | beginConstructor(String name, String parameters, String exceptions, int options) | public void | beginFor(String init, String predicate, String next) | public void | beginIf(String predicate) | public void | beginIf(String predicate1, String predicate2) | public void | beginIf(String predicate1, String predicate2, String predicate3) | public void | beginMethod(String name) | public void | beginMethod(String name, String parameters) | public void | beginMethod(String name, String parameters, String exceptions) | public void | beginMethod(String name, String parameters, String exceptions, String returnType) | public void | beginMethod(String name, String parameters, String exceptions, String returnType, int options) | public void | beginTry() | public void | beginWhile(String predicate) | public void | bigComment(String msg) | public void | comment(String msg) | public void | end() | public void | end(boolean useCr) | public void | endCatch(String param) | public void | endElse() | public void | endElseBegin() | public void | endElseBeginIf(String predicate) | public void | endFinallyBegin() | public void | endMethod() | public void | eol() | public void | eol(boolean useCr) | public void | eolNoI18N() | public Collection | getStoredMethods() | public int | insertSectionAfter(int sectionNum) Insert a custom section after another section. | public void | noI18N() | public void | reset() | public boolean | writeAccess(int accessLevel) | public void | writeAssert(String predicate) | public void | writeClassDecl(String name, String extendsStatement, String implementsStatement, int options) Writes a class declaration into the DECL_SECTION. | public void | writeEol(String s) | public void | writeEol(String s1, String s2) | public void | writeEol(String s1, String s2, String s3) | public void | writeEol(String s1, String s2, String s3, String s4) | public void | writeEolNoI18N(String s) | public void | writeEolNoI18N(String s1, String s2) | public void | writeEolNoI18N(String s1, String s2, String s3) | public void | writeEolNoI18N(String s1, String s2, String s3, String s4) | public void | writeImport(String pkg) | public void | writeMethod(String name, String parameters, String exceptions, String returnType, int options) | public boolean | writeOptions(int options) | public void | writePackage(String pkg) | public void | writeTo(Writer out) Send buffers to @param out
Everything is passed thru native2ascii. | public void | writeTo(OutputStream out) Send buffers to @param out
Everything is passed thru native2ascii. | public void | writeTo(GenBuffer o) |
ACCESS_MASK | final public static int ACCESS_MASK(Code) | | |
BEANINFO | final public static int BEANINFO(Code) | | |
BODY_SECTION | public int BODY_SECTION(Code) | | |
CONSTRUCTOR_SECTION | public int CONSTRUCTOR_SECTION(Code) | | |
DECL_SECTION | public int DECL_SECTION(Code) | | |
FINAL | final public static int FINAL(Code) | | |
HEADER_SECTION | public int HEADER_SECTION(Code) | | |
IO | final public static int IO(Code) | | |
METHOD_SEMANTIC_MASK | final public static int METHOD_SEMANTIC_MASK(Code) | | |
PACKAGE_LEVEL | final public static int PACKAGE_LEVEL(Code) | | |
PRIVATE | final public static int PRIVATE(Code) | | |
PROTECTED | final public static int PROTECTED(Code) | | |
PUBLIC | final public static int PUBLIC(Code) | | |
STATIC | final public static int STATIC(Code) | | |
TRAILER_SECTION | public int TRAILER_SECTION(Code) | | |
UNSUPPORTED | final public static int UNSUPPORTED(Code) | | |
defaultSectionCount | final protected static int defaultSectionCount(Code) | | |
newlineBeforeCurlyBrace | protected boolean newlineBeforeCurlyBrace(Code) | | |
rightMarginColumn | final public static int rightMarginColumn(Code) | | |
storeMethods | public boolean storeMethods(Code) | | |
JavaWriter | public JavaWriter()(Code) | | |
insertSectionAfter | public int insertSectionAfter(int sectionNum)(Code) | | Insert a custom section after another section.
eg:
JavaWriter jw = new JavaWriter();
int SPECIAL_SECTION = jw.insertSectionAfter(jw.CONSTRUCTOR_SECTION);
|
reset | public void reset()(Code) | | |
writeClassDecl | public void writeClassDecl(String name, String extendsStatement, String implementsStatement, int options) throws IOException(Code) | | Writes a class declaration into the DECL_SECTION.
|
writeTo | public void writeTo(Writer out) throws IOException(Code) | | Send buffers to @param out
Everything is passed thru native2ascii.
|
Methods inherited from org.netbeans.modules.schema2beansdev.gen.GenBuffer | public boolean anyContent()(Code)(Java Doc) protected void beforeWriteHook()(Code)(Java Doc) public void close()(Code)(Java Doc) public void ensureCapacity(int minimumCapacity)(Code)(Java Doc) public void flush()(Code)(Java Doc) public StringBuffer getBuffer()(Code)(Java Doc) public int getCurrentPosition()(Code)(Java Doc) public void insertAdditionalBuffers(int offset, int count)(Code)(Java Doc) public void popSelect()(Code)(Java Doc) public void pushSelect(int bufferNum)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void select(int bufferNum)(Code)(Java Doc) public void setFirst(String separator)(Code)(Java Doc) public void truncateAtPosition(int pos)(Code)(Java Doc) public void write(boolean b) throws IOException(Code)(Java Doc) public void write(char c) throws IOException(Code)(Java Doc) public void write(char[] str) throws IOException(Code)(Java Doc) public void write(char[] cbuf, int off, int len) throws IOException(Code)(Java Doc) public void write(double d) throws IOException(Code)(Java Doc) public void write(float f) throws IOException(Code)(Java Doc) public void write(int i) throws IOException(Code)(Java Doc) public void write(long l) throws IOException(Code)(Java Doc) public void write(Object obj) throws IOException(Code)(Java Doc) public void write(String s) throws IOException(Code)(Java Doc) public void write(StringBuffer s) throws IOException(Code)(Java Doc) public void write(String s1, String s2) throws IOException(Code)(Java Doc) public void write(String s1, String s2, String s3) throws IOException(Code)(Java Doc) public void write(String s1, String s2, String s3, String s4) throws IOException(Code)(Java Doc) public void write(String str, int bufferNum) throws IOException(Code)(Java Doc) public void writeNext(String msg) throws IOException(Code)(Java Doc) public void writeNext(String msg1, String msg2) throws IOException(Code)(Java Doc) public void writeNext(String msg1, String msg2, String msg3) throws IOException(Code)(Java Doc) public void writeNext() throws IOException(Code)(Java Doc) public void writeTo(Writer out) throws IOException(Code)(Java Doc) public void writeTo(OutputStream out) throws IOException(Code)(Java Doc) public void writeTo(StringBuffer out)(Code)(Java Doc) public void writeTo(GenBuffer out)(Code)(Java Doc)
|
|
|