< prev index next >

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

Print this page




  67       module (module () + "/" + name ());
  68   } // ctor
  69 
  70   public Object clone ()
  71   {
  72     return new ModuleEntry (this);
  73   } // clone
  74 
  75   /** Invoke the module generator.
  76       @param symbolTable the symbol table is a hash table whose key is
  77        a fully qualified type name and whose value is a SymtabEntry or
  78        a subclass of SymtabEntry.
  79       @param stream the stream to which the generator should sent its output.
  80       @see SymtabEntry */
  81   public void generate (Hashtable symbolTable, PrintWriter stream)
  82   {
  83     moduleGen.generate (symbolTable, this, stream);
  84   } // generate
  85 
  86   /** Access the module generator.
  87       @returns an object which implements the ModuleGen interface.
  88       @see ModuleGen */
  89   public Generator generator ()
  90   {
  91     return moduleGen;
  92   } // generator
  93 
  94   /** alid entries in this vector are:  TypedefEntry, ExceptionEntry,
  95       StructEntry, UnionEntry, EnumEntry, ConstEntry, InterfaceEntry,
  96       ModuleEntry. */
  97   public void addContained (SymtabEntry entry)
  98   {
  99     _contained.addElement (entry);
 100   } // addContained
 101 
 102   /** This is a vector of SymtabEntry's.  Valid entries in this vector are:
 103       TypedefEntry, ExceptionEntry, StructEntry, UnionEntry, EnumEntry,
 104       ConstEntry, InterfaceEntry, ModuleEntry. */
 105   public Vector contained ()
 106   {
 107     return _contained;


  67       module (module () + "/" + name ());
  68   } // ctor
  69 
  70   public Object clone ()
  71   {
  72     return new ModuleEntry (this);
  73   } // clone
  74 
  75   /** Invoke the module generator.
  76       @param symbolTable the symbol table is a hash table whose key is
  77        a fully qualified type name and whose value is a SymtabEntry or
  78        a subclass of SymtabEntry.
  79       @param stream the stream to which the generator should sent its output.
  80       @see SymtabEntry */
  81   public void generate (Hashtable symbolTable, PrintWriter stream)
  82   {
  83     moduleGen.generate (symbolTable, this, stream);
  84   } // generate
  85 
  86   /** Access the module generator.
  87       @return an object which implements the ModuleGen interface.
  88       @see ModuleGen */
  89   public Generator generator ()
  90   {
  91     return moduleGen;
  92   } // generator
  93 
  94   /** alid entries in this vector are:  TypedefEntry, ExceptionEntry,
  95       StructEntry, UnionEntry, EnumEntry, ConstEntry, InterfaceEntry,
  96       ModuleEntry. */
  97   public void addContained (SymtabEntry entry)
  98   {
  99     _contained.addElement (entry);
 100   } // addContained
 101 
 102   /** This is a vector of SymtabEntry's.  Valid entries in this vector are:
 103       TypedefEntry, ExceptionEntry, StructEntry, UnionEntry, EnumEntry,
 104       ConstEntry, InterfaceEntry, ModuleEntry. */
 105   public Vector contained ()
 106   {
 107     return _contained;
< prev index next >