public class InterfaceEntry extends SymtabEntry implements InterfaceType
ABSTRACT, LOCAL, LOCAL_SIGNATURE_ONLY, LOCALSERVANT, NORMAL
Modifier | Constructor and Description |
---|---|
protected |
InterfaceEntry() |
protected |
InterfaceEntry(InterfaceEntry that) |
protected |
InterfaceEntry(SymtabEntry that,
IDLID clone) |
Modifier and Type | Method and Description |
---|---|
void |
addContained(SymtabEntry entry)
Add a symbol table entry to this interface's contained vector.
|
void |
addDerivedFrom(SymtabEntry derivedFrom)
Add an InterfaceEntry to the list of interfaces which this interface
is derivedFrom.
|
void |
addDerivedFromName(String name)
Add to the list of derivedFrom names.
|
void |
addMethod(MethodEntry method)
Add a method/attribute to the list of methods.
|
void |
addStateElement(InterfaceState state,
com.sun.tools.corba.se.idl.Scanner scanner) |
Vector |
allMethods()
Get the allMethods vector.
|
Object |
clone()
This is a shallow copy clone
|
Vector |
contained()
This is a vector of SymtabEntry's.
|
Vector |
derivedFrom()
This method returns a vector of InterfaceEntry's.
|
Vector |
derivedFromNames()
This method returns a vector of Strings, each of which is a fully
qualified name of an interface.
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the interface generator.
|
Generator |
generator()
Access the interface generator.
|
int |
getInterfaceType() |
void |
initState() |
boolean |
isAbstract() |
boolean |
isLocal() |
boolean |
isLocalServant() |
boolean |
isLocalSignature() |
Vector |
methods()
This is a vector of MethodEntry's.
|
boolean |
replaceForwardDecl(ForwardEntry oldEntry,
InterfaceEntry newEntry) |
void |
setInterfaceType(int type) |
Vector |
state()
This method returns a vector of the elements in the state block.
|
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
protected InterfaceEntry()
protected InterfaceEntry(InterfaceEntry that)
protected InterfaceEntry(SymtabEntry that, IDLID clone)
public boolean isAbstract()
public boolean isLocal()
public boolean isLocalServant()
public boolean isLocalSignature()
public Object clone()
SymtabEntry
clone
in class SymtabEntry
public void generate(Hashtable symbolTable, PrintWriter stream)
generate
in class SymtabEntry
symbolTable
- 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.SymtabEntry
public Generator generator()
generator
in class SymtabEntry
InterfaceGen
public void addDerivedFrom(SymtabEntry derivedFrom)
public Vector derivedFrom()
public void addDerivedFromName(String name)
public Vector derivedFromNames()
public void addMethod(MethodEntry method)
public Vector methods()
public void addContained(SymtabEntry entry)
public Vector contained()
public boolean replaceForwardDecl(ForwardEntry oldEntry, InterfaceEntry newEntry)
public Vector state()
public void initState()
public void addStateElement(InterfaceState state, com.sun.tools.corba.se.idl.Scanner scanner)
public int getInterfaceType()
getInterfaceType
in interface InterfaceType
public void setInterfaceType(int type)
setInterfaceType
in interface InterfaceType
public Vector allMethods()
Copyright © 2017 JBoss by Red Hat. All rights reserved.