Class Stub
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.toJavaPortable.Stub
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
classSuffix
protected InterfaceEntry
i
private boolean
isAbstract
protected boolean
localStub
protected java.util.Vector<MethodEntry>
methodList
protected java.io.PrintWriter
stream
protected java.util.Hashtable
symbolTable
-
Constructor Summary
Constructors Constructor Description Stub()
Public zero-argument constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addMethod(MethodEntry method)
private void
buildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)
protected void
buildMethodList()
Build a list of all of the methods, keeping out duplicates.private void
buildMethodList(InterfaceEntry entry)
protected void
closeStream()
void
generate(java.util.Hashtable symbolTable, SymtabEntry entry)
protected void
init()
Initialize unique members of this generator.protected void
openStream()
protected void
writeBody()
Steps done within writeBody include: 1.) makeCtors (); 2.) buildMethodList (); 3.) makeMethods (); 4.) makeCORBAObjectMethods ()protected void
writeClassDeclaration()
protected void
writeClosing()
protected void
writeCORBAObjectMethods()
protected void
writeCtors()
protected void
writeHeading()
private void
writeIDs()
protected void
writeMethods()
protected void
writeSerializationMethods()
-
-
-
Field Detail
-
symbolTable
protected java.util.Hashtable symbolTable
-
i
protected InterfaceEntry i
-
stream
protected java.io.PrintWriter stream
-
methodList
protected java.util.Vector<MethodEntry> methodList
-
classSuffix
protected java.lang.String classSuffix
-
localStub
protected boolean localStub
-
isAbstract
private boolean isAbstract
-
-
Method Detail
-
generate
public void generate(java.util.Hashtable symbolTable, SymtabEntry entry)
-
init
protected void init()
Initialize unique members of this generator.
-
openStream
protected void openStream()
-
writeHeading
protected void writeHeading()
-
writeClassDeclaration
protected void writeClassDeclaration()
-
writeBody
protected void writeBody()
Steps done within writeBody include: 1.) makeCtors (); 2.) buildMethodList (); 3.) makeMethods (); 4.) makeCORBAObjectMethods ()
-
writeClosing
protected void writeClosing()
-
closeStream
protected void closeStream()
-
writeCtors
protected void writeCtors()
-
buildMethodList
protected void buildMethodList()
Build a list of all of the methods, keeping out duplicates.
-
buildMethodList
private void buildMethodList(InterfaceEntry entry)
-
addMethod
private void addMethod(MethodEntry method)
-
writeMethods
protected void writeMethods()
-
buildIDList
private void buildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)
-
writeIDs
private void writeIDs()
-
writeCORBAObjectMethods
protected void writeCORBAObjectMethods()
-
writeSerializationMethods
protected void writeSerializationMethods()
-
-