< prev index next >

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

Print this page




  56   } // ctor
  57 
  58   /** This is a shallow copy clone. */
  59   public Object clone ()
  60   {
  61     return new NativeEntry (this);
  62   } // clone
  63 
  64   /** Invoke the constant generator.
  65       @param symbolTable the symbol table is a hash table whose key is
  66        a fully qualified type name and whose value is a SymtabEntry or
  67        a subclass of SymtabEntry.
  68       @param stream the stream to which the generator should sent its output.
  69       @see SymtabEntry */
  70   public void generate (Hashtable symbolTable, PrintWriter stream)
  71   {
  72     nativeGen.generate(symbolTable, this, stream);
  73   } // generate
  74 
  75   /** Access the constant generator.
  76       @returns an object which implements the ConstGen interface.
  77       @see ConstGen */
  78   public Generator generator ()
  79   {
  80     return nativeGen;
  81   } // generator
  82 
  83   static NativeGen nativeGen;
  84 } // class NativeEntry


  56   } // ctor
  57 
  58   /** This is a shallow copy clone. */
  59   public Object clone ()
  60   {
  61     return new NativeEntry (this);
  62   } // clone
  63 
  64   /** Invoke the constant generator.
  65       @param symbolTable the symbol table is a hash table whose key is
  66        a fully qualified type name and whose value is a SymtabEntry or
  67        a subclass of SymtabEntry.
  68       @param stream the stream to which the generator should sent its output.
  69       @see SymtabEntry */
  70   public void generate (Hashtable symbolTable, PrintWriter stream)
  71   {
  72     nativeGen.generate(symbolTable, this, stream);
  73   } // generate
  74 
  75   /** Access the constant generator.
  76       @return an object which implements the ConstGen interface.
  77       @see ConstGen */
  78   public Generator generator ()
  79   {
  80     return nativeGen;
  81   } // generator
  82 
  83   static NativeGen nativeGen;
  84 } // class NativeEntry
< prev index next >