| java.lang.Object com.sun.tools.corba.se.idl.toJavaPortable.Holder
Constructor Summary | |
public | Holder() Public zero-argument constructor. |
Method Summary | |
protected void | closeStream() Write the stream to file by closing the print stream. | public void | generate(java.util.Hashtable symbolTable, com.sun.tools.corba.se.idl.SymtabEntry entry) Generate the holder class. | protected void | init() Initialize variables unique to this generator. | protected void | openStream() Open the print stream for subsequent output. | protected void | writeBody() Generate members of this class. | protected void | writeClosing() Generate the closing statements. | protected void | writeCtors() Generate the constructors. | protected void | writeHeading() Generate the heading, including the package, imports,
source comment, class statement, and left curly. | protected void | writeRead() Generate the _read method. | protected void | writeType() Generate the _type method. | protected void | writeWrite() Generate the _write method. |
Holder | public Holder()(Code) | | Public zero-argument constructor.
|
closeStream | protected void closeStream()(Code) | | Write the stream to file by closing the print stream.
|
generate | public void generate(java.util.Hashtable symbolTable, com.sun.tools.corba.se.idl.SymtabEntry entry)(Code) | | Generate the holder class. Provides general algorithm for
auxiliary binding generation:
1.) Initialize symbol table and symbol table entry members,
common to all generators.
2.) Initialize members unique to this generator.
3.) Open print stream
4.) Write class heading (package, prologue, source comment, class
statement, open curly
5.) Write class body (member data and methods)
6.) Write class closing (close curly)
7.) Close the print stream
|
init | protected void init()(Code) | | Initialize variables unique to this generator.
|
openStream | protected void openStream()(Code) | | Open the print stream for subsequent output.
|
writeBody | protected void writeBody()(Code) | | Generate members of this class.
|
writeClosing | protected void writeClosing()(Code) | | Generate the closing statements.
|
writeCtors | protected void writeCtors()(Code) | | Generate the constructors.
|
writeHeading | protected void writeHeading()(Code) | | Generate the heading, including the package, imports,
source comment, class statement, and left curly.
|
writeRead | protected void writeRead()(Code) | | Generate the _read method.
|
writeType | protected void writeType()(Code) | | Generate the _type method.
|
writeWrite | protected void writeWrite()(Code) | | Generate the _write method.
|
|
|