org.jacorb.idl

Class InterfaceBody


public class InterfaceBody
extends IdlSymbol

Version:
$Id: InterfaceBody.java,v 1.27 2004/05/06 12:39:58 nicolas Exp $ directly known subclasses: ValueBody

Author:
Gerald Brose

Nested Class Summary

class
InterfaceBody.ParseThread

Field Summary

Interface
my_interface
static Vector
parseThreads
list of parse threads created and either active or still blocked
Vector
v

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

InterfaceBody(int num)
class constructor

Method Summary

void
accept(IDLTreeVisitor visitor)
void
addDefinition(Declaration d)
void
commit()
Operation[]
getMethods()
void
internal_parse()
void
parse()
empty parse
void
print(PrintWriter ps)
print definitions that appeared in an interface scope do not call print() in OpDecls and on Typedefs
void
printConstants(PrintWriter ps)
print signatures to the operations file
void
printDelegatedMethods(PrintWriter ps)
print methods to the skeleton file
void
printInterfaceMethods(PrintWriter ps)
print only constant definitions to the interface file
void
printOperationSignatures(PrintWriter ps)
print signatures to the operations file
void
printOperationsHash(PrintWriter ps)
print hash table that associates an operation string with an int
void
printSkelInvocations(PrintWriter ps)
print methods for impl-based skeletons
void
printStubMethods(PrintWriter ps, String classname, boolean is_local, boolean is_abstract)
Print methods to the stub file
void
setEnclosingSymbol(IdlSymbol s)
void
setPackage(String s)
void
set_ancestors(SymbolList _inheritance_spec)
void
set_name(String n)
the name of this symbol

Methods inherited from class org.jacorb.idl.IdlSymbol

accept, addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, getEnclosingSymbol, get_token, id, isEscaped, is_included, is_pseudo, name, new_num, omgPrefix, parse, print, printIdMethod, printImport, setEnclosingSymbol, setPackage, setPrintPhaseNames, set_name, set_pseudo, set_token

Field Details

my_interface

public Interface my_interface


parseThreads

public static Vector parseThreads
list of parse threads created and either active or still blocked


v

public Vector v

Constructor Details

InterfaceBody

public InterfaceBody(int num)
class constructor

Method Details

accept

public void accept(IDLTreeVisitor visitor)
Overrides:
accept in interface IdlSymbol


addDefinition

public void addDefinition(Declaration d)


commit

public void commit()


getMethods

public Operation[] getMethods()


internal_parse

public void internal_parse()


parse

public void parse()
empty parse
Overrides:
parse in interface IdlSymbol


print

public void print(PrintWriter ps)
print definitions that appeared in an interface scope do not call print() in OpDecls and on Typedefs
Overrides:
print in interface IdlSymbol


printConstants

public void printConstants(PrintWriter ps)
print signatures to the operations file


printDelegatedMethods

public void printDelegatedMethods(PrintWriter ps)
print methods to the skeleton file


printInterfaceMethods

public void printInterfaceMethods(PrintWriter ps)
print only constant definitions to the interface file


printOperationSignatures

public void printOperationSignatures(PrintWriter ps)
print signatures to the operations file


printOperationsHash

public void printOperationsHash(PrintWriter ps)
print hash table that associates an operation string with an int


printSkelInvocations

public void printSkelInvocations(PrintWriter ps)
print methods for impl-based skeletons


printStubMethods

public void printStubMethods(PrintWriter ps,
                             String classname,
                             boolean is_local,
                             boolean is_abstract)
Print methods to the stub file


setEnclosingSymbol

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


setPackage

public void setPackage(String s)
Overrides:
setPackage in interface IdlSymbol


set_ancestors

public void set_ancestors(SymbolList _inheritance_spec)


set_name

public void set_name(String n)
the name of this symbol
Overrides:
set_name in interface IdlSymbol