< prev index next >

src/java.corba/share/classes/com/sun/tools/corba/se/idl/MethodEntry.java

Print this page




  72       module (module () + "/" + name ());
  73   } // ctor
  74 
  75   public Object clone ()
  76   {
  77     return new MethodEntry (this);
  78   } // clone
  79 
  80   /** Invoke the method generator.
  81       @param symbolTable the symbol table is a hash table whose key is
  82        a fully qualified type name and whose value is a SymtabEntry or
  83        a subclass of SymtabEntry.
  84       @param stream the stream to which the generator should sent its output.
  85       @see SymtabEntry */
  86   public void generate (Hashtable symbolTable, PrintWriter stream)
  87   {
  88     methodGen.generate (symbolTable, this, stream);
  89   } // generate
  90 
  91   /** Access the method generator.
  92       @returns an object which implements the MethodGen interface.
  93       @see MethodGen */
  94   public Generator generator ()
  95   {
  96     return methodGen;
  97   } // generator
  98 
  99   public void type (SymtabEntry newType)
 100   {
 101     super.type (newType);
 102     if (newType == null)
 103       typeName ("void");
 104   } // type
 105 
 106   /** Add an exception to the exception list. */
 107   public void addException (ExceptionEntry exception)
 108   {
 109     _exceptions.addElement (exception);
 110   } // addException
 111 
 112   /** This a a vector of the exceptions which this method raises. */




  72       module (module () + "/" + name ());
  73   } // ctor
  74 
  75   public Object clone ()
  76   {
  77     return new MethodEntry (this);
  78   } // clone
  79 
  80   /** Invoke the method generator.
  81       @param symbolTable the symbol table is a hash table whose key is
  82        a fully qualified type name and whose value is a SymtabEntry or
  83        a subclass of SymtabEntry.
  84       @param stream the stream to which the generator should sent its output.
  85       @see SymtabEntry */
  86   public void generate (Hashtable symbolTable, PrintWriter stream)
  87   {
  88     methodGen.generate (symbolTable, this, stream);
  89   } // generate
  90 
  91   /** Access the method generator.
  92       @return an object which implements the MethodGen interface.
  93       @see MethodGen */
  94   public Generator generator ()
  95   {
  96     return methodGen;
  97   } // generator
  98 
  99   public void type (SymtabEntry newType)
 100   {
 101     super.type (newType);
 102     if (newType == null)
 103       typeName ("void");
 104   } // type
 105 
 106   /** Add an exception to the exception list. */
 107   public void addException (ExceptionEntry exception)
 108   {
 109     _exceptions.addElement (exception);
 110   } // addException
 111 
 112   /** This a a vector of the exceptions which this method raises. */


< prev index next >