| java.lang.Object com.sun.tools.corba.se.idl.toJavaPortable.DefaultFactory
DefaultFactory | public class DefaultFactory implements AuxGen(Code) | | |
Constructor Summary | |
public | DefaultFactory() Public zero-argument constructor. |
DefaultFactory | public DefaultFactory()(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 default value factory 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
|
hasFactoryMethods | protected boolean hasFactoryMethods()(Code) | | true if entry has any factory methods declared |
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 the contents of this class
|
writeClosing | protected void writeClosing()(Code) | | Generate the closing statements.
|
writeFactoryMethods | protected void writeFactoryMethods()(Code) | | Generate members of this class.
|
writeHeading | protected void writeHeading()(Code) | | Generate the heading, including the package, imports,
source comment, class statement, and left curly.
|
writeReadValue | protected void writeReadValue()(Code) | | Generate default read_value
|
|
|