< prev index next >

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

Print this page




  69     super (that, clone);
  70   } // ctor
  71 
  72   public Object clone ()
  73   {
  74     return new ValueEntry (this);
  75   } // clone
  76 
  77   /** Invoke the interface generator.
  78       @param symbolTable The symbol table is a hash table whose key is
  79        a fully qualified type name and whose value is a SymtabEntry or
  80        a subclass of SymtabEntry.
  81       @param stream The stream to which the generator should sent its output.
  82       @see SymtabEntry */
  83   public void generate (Hashtable symbolTable, PrintWriter stream)
  84   {
  85     valueGen.generate (symbolTable, this, stream);
  86   } // generate
  87 
  88   /** Access the value generator.
  89       @returns an object which implements the ValueGen interface.
  90       @see ValueGen */
  91   public Generator generator ()
  92   {
  93     return valueGen;
  94   } // generator
  95 
  96   /** Add an InterfaceEntry to the list of interfaces which this value
  97       supports.  During parsing, the parameter to this method COULD be a
  98       ForwardEntry, but when parsing is complete, calling supports will
  99       return a vector which only contains InterfaceEntry's. */
 100   public void addSupport (SymtabEntry supports)
 101   {
 102     _supports.addElement (supports);
 103   } // addSupport
 104 
 105   /** This method returns a vector of InterfaceEntry's. */
 106   public Vector supports ()
 107   {
 108     return _supports;
 109   } // supports




  69     super (that, clone);
  70   } // ctor
  71 
  72   public Object clone ()
  73   {
  74     return new ValueEntry (this);
  75   } // clone
  76 
  77   /** Invoke the interface generator.
  78       @param symbolTable The symbol table is a hash table whose key is
  79        a fully qualified type name and whose value is a SymtabEntry or
  80        a subclass of SymtabEntry.
  81       @param stream The stream to which the generator should sent its output.
  82       @see SymtabEntry */
  83   public void generate (Hashtable symbolTable, PrintWriter stream)
  84   {
  85     valueGen.generate (symbolTable, this, stream);
  86   } // generate
  87 
  88   /** Access the value generator.
  89       @return an object which implements the ValueGen interface.
  90       @see ValueGen */
  91   public Generator generator ()
  92   {
  93     return valueGen;
  94   } // generator
  95 
  96   /** Add an InterfaceEntry to the list of interfaces which this value
  97       supports.  During parsing, the parameter to this method COULD be a
  98       ForwardEntry, but when parsing is complete, calling supports will
  99       return a vector which only contains InterfaceEntry's. */
 100   public void addSupport (SymtabEntry supports)
 101   {
 102     _supports.addElement (supports);
 103   } // addSupport
 104 
 105   /** This method returns a vector of InterfaceEntry's. */
 106   public Vector supports ()
 107   {
 108     return _supports;
 109   } // supports


< prev index next >