Class Stub
java.lang.Object
com.sun.tools.corba.ee.idl.toJavaPortable.Stub
- All Implemented Interfaces:
AuxGen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected InterfaceEntryprivate booleanprotected booleanprotected Vector<MethodEntry> protected PrintWriterprotected Hashtable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddMethod(MethodEntry method) private voidbuildIDList(InterfaceEntry entry, Vector<String> list) protected voidBuild a list of all of the methods, keeping out duplicates.private voidbuildMethodList(InterfaceEntry entry) protected voidvoidgenerate(Hashtable symbolTable, SymtabEntry entry) protected voidinit()Initialize unique members of this generator.protected voidprotected voidSteps done within writeBody include: 1.) makeCtors (); 2.) buildMethodList (); 3.) makeMethods (); 4.) makeCORBAObjectMethods ()protected voidprotected voidprotected voidprotected voidprotected voidprivate voidwriteIDs()protected voidprotected void
-
Field Details
-
symbolTable
-
i
-
stream
-
methodList
-
classSuffix
-
localStub
protected boolean localStub -
isAbstract
private boolean isAbstract
-
-
Constructor Details
-
Stub
public Stub()Public zero-argument constructor.
-
-
Method Details
-
generate
-
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
-
addMethod
-
writeMethods
protected void writeMethods() -
buildIDList
-
writeIDs
private void writeIDs() -
writeCORBAObjectMethods
protected void writeCORBAObjectMethods() -
writeSerializationMethods
protected void writeSerializationMethods()
-