java.lang.Object
com.sun.tools.corba.ee.idl.toJavaPortable.Stub
All Implemented Interfaces:
AuxGen

public class Stub extends Object implements AuxGen
  • Field Details

    • symbolTable

      protected Hashtable symbolTable
    • i

      protected InterfaceEntry i
    • stream

      protected PrintWriter stream
    • methodList

      protected Vector<MethodEntry> methodList
    • classSuffix

      protected String classSuffix
    • localStub

      protected boolean localStub
    • isAbstract

      private boolean isAbstract
  • Constructor Details

    • Stub

      public Stub()
      Public zero-argument constructor.
  • Method Details

    • generate

      public void generate(Hashtable symbolTable, SymtabEntry entry)
      Specified by:
      generate in interface AuxGen
    • 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, Vector<String> list)
    • writeIDs

      private void writeIDs()
    • writeCORBAObjectMethods

      protected void writeCORBAObjectMethods()
    • writeSerializationMethods

      protected void writeSerializationMethods()