< prev index next >

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

Print this page




  73       module (module () + "/" + name ());
  74   } // ctor
  75 
  76   public Object clone ()
  77   {
  78     return new StructEntry (this);
  79   } // clone
  80 
  81   /** Invoke the struct generator.
  82       @param symbolTable the symbol table is a hash table whose key is
  83        a fully qualified type name and whose value is a SymtabEntry or
  84        a subclass of SymtabEntry.
  85       @param stream the stream to which the generator should sent its output.
  86       @see SymtabEntry */
  87   public void generate (Hashtable symbolTable, PrintWriter stream)
  88   {
  89     structGen.generate (symbolTable, this, stream);
  90   } // generate
  91 
  92   /** Access the struct generator.
  93       @returns an object which implements the StructGen interface.
  94       @see StructGen */
  95   public Generator generator ()
  96   {
  97     return structGen;
  98   } // generator
  99 
 100   /** Add a member to the member list. */
 101   public void addMember (TypedefEntry member)
 102   {
 103     _members.addElement (member);
 104   } // addMember
 105 
 106   /** This is a vector of TypedefEntry's.  In this context, only the name,
 107       type, and arrayInfo fields hold any meaning. */
 108   public Vector members ()
 109   {
 110     return _members;
 111   } // members
 112 
 113   public void addContained (SymtabEntry entry)




  73       module (module () + "/" + name ());
  74   } // ctor
  75 
  76   public Object clone ()
  77   {
  78     return new StructEntry (this);
  79   } // clone
  80 
  81   /** Invoke the struct generator.
  82       @param symbolTable the symbol table is a hash table whose key is
  83        a fully qualified type name and whose value is a SymtabEntry or
  84        a subclass of SymtabEntry.
  85       @param stream the stream to which the generator should sent its output.
  86       @see SymtabEntry */
  87   public void generate (Hashtable symbolTable, PrintWriter stream)
  88   {
  89     structGen.generate (symbolTable, this, stream);
  90   } // generate
  91 
  92   /** Access the struct generator.
  93       @return an object which implements the StructGen interface.
  94       @see StructGen */
  95   public Generator generator ()
  96   {
  97     return structGen;
  98   } // generator
  99 
 100   /** Add a member to the member list. */
 101   public void addMember (TypedefEntry member)
 102   {
 103     _members.addElement (member);
 104   } // addMember
 105 
 106   /** This is a vector of TypedefEntry's.  In this context, only the name,
 107       type, and arrayInfo fields hold any meaning. */
 108   public Vector members ()
 109   {
 110     return _members;
 111   } // members
 112 
 113   public void addContained (SymtabEntry entry)


< prev index next >