org.jacorb.idl
Class Case

java.lang.Object
  extended by org.jacorb.idl.runtime.symbol
      extended by org.jacorb.idl.IdlSymbol
          extended by org.jacorb.idl.Case

public class Case
extends IdlSymbol

Version:
$Id: Case.java,v 1.17 2006/06/19 10:34:57 alphonse.bendt Exp $
Author:
Gerald Brose

Field Summary
 SymbolList case_label_list
          the labels for this case
 ElementSpec element_spec
          this case's element's type's spec
 
Fields inherited from class org.jacorb.idl.IdlSymbol
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
 
Fields inherited from class org.jacorb.idl.runtime.symbol
parse_state, sym
 
Constructor Summary
Case(int num)
           
 
Method Summary
 void parse()
          empty parse
 void print(java.io.PrintWriter ps)
           
 void setEnclosingSymbol(IdlSymbol s)
           
 void setPackage(java.lang.String s)
           
 void setTypeSpec(TypeSpec s)
           
 void setUnion(UnionType ut)
          pass a reference to the containing union through to the case elements, which pass it on
 
Methods inherited from class org.jacorb.idl.IdlSymbol
accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

case_label_list

public SymbolList case_label_list
the labels for this case


element_spec

public ElementSpec element_spec
this case's element's type's spec

Constructor Detail

Case

public Case(int num)
Method Detail

setPackage

public void setPackage(java.lang.String s)
Overrides:
setPackage in class IdlSymbol

setUnion

public void setUnion(UnionType ut)
pass a reference to the containing union through to the case elements, which pass it on


setEnclosingSymbol

public void setEnclosingSymbol(IdlSymbol s)
Overrides:
setEnclosingSymbol in class IdlSymbol

setTypeSpec

public void setTypeSpec(TypeSpec s)

parse

public void parse()
Description copied from class: IdlSymbol
empty parse

Overrides:
parse in class IdlSymbol

print

public void print(java.io.PrintWriter ps)
Overrides:
print in class IdlSymbol