public class EnumEntry extends SymtabEntry
| Modifier | Constructor and Description |
|---|---|
protected |
EnumEntry() |
protected |
EnumEntry(EnumEntry that) |
protected |
EnumEntry(SymtabEntry that,
IDLID clone) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(String element)
Add an element to the list of elements.
|
Object |
clone()
This is a shallow copy clone
|
Vector |
elements()
Each element of the vector is a String.
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the enumerator generator.
|
Generator |
generator()
Access the enumerator generator.
|
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeNameprotected EnumEntry()
protected EnumEntry(EnumEntry that)
protected EnumEntry(SymtabEntry that, IDLID clone)
public Object clone()
SymtabEntryclone in class SymtabEntrypublic void generate(Hashtable symbolTable, PrintWriter stream)
generate in class SymtabEntrysymbolTable - the symbol table is a hash table whose key is
a fully qualified type name and whose value is a SymtabEntry or
a subclass of SymtabEntry.stream - the stream to which the generator should sent its output.SymtabEntrypublic Generator generator()
generator in class SymtabEntryEnumGenpublic void addElement(String element)
public Vector elements()
Copyright © 2018 JBoss by Red Hat. All rights reserved.