Class Stub
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.toJavaPortable.Stub
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringclassSuffixprotected InterfaceEntryiprivate booleanisAbstractprotected booleanlocalStubprotected java.util.Vector<MethodEntry>methodListprotected java.io.PrintWriterstreamprotected java.util.HashtablesymbolTable
-
Constructor Summary
Constructors Constructor Description Stub()Public zero-argument constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddMethod(MethodEntry method)private voidbuildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)protected voidbuildMethodList()Build a list of all of the methods, keeping out duplicates.private voidbuildMethodList(InterfaceEntry entry)protected voidcloseStream()voidgenerate(java.util.Hashtable symbolTable, SymtabEntry entry)protected voidinit()Initialize unique members of this generator.protected voidopenStream()protected voidwriteBody()Steps done within writeBody include: 1.) makeCtors (); 2.) buildMethodList (); 3.) makeMethods (); 4.) makeCORBAObjectMethods ()protected voidwriteClassDeclaration()protected voidwriteClosing()protected voidwriteCORBAObjectMethods()protected voidwriteCtors()protected voidwriteHeading()private voidwriteIDs()protected voidwriteMethods()protected voidwriteSerializationMethods()
-
-
-
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()
-
-