Method Summary |
|
protected void | closeStream() Close the print stream, causing the file to be written. |
public void | generate(Hashtable symbolTable, ConstEntry c, PrintWriter s) Generate Java code for an IDL constant. |
protected void | generateConst() Generate the class defining the constant. |
protected void | init() Initialize members unique to this generator. |
protected void | openStream() Open a new print stream only if the constant is not a member
of an interface. |
protected void | writeBody() Write the constant expression and any comment, if present. |
protected void | writeClosing() Generate any last words and close the class. |
protected void | writeConstExpr() Write the entire constant expression and any comment, if present. |
protected void | writeHeading() Write the heading for the class defining the constant. |