org.jacorb.idl
Class NameTable
java.lang.Object
org.jacorb.idl.NameTable
public class NameTable
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parsed_interfaces
public static final Map parsed_interfaces
NameTable
public NameTable()
init
public static void init()
define
public static void define(String name,
IDLTypes kind)
throws NameAlreadyDefined
- define a name. If it has already been defined in this scope,
an exception is thrown
- Parameters:
name - The name to be definedkind - the type of name, e.g. "type"
- Throws:
NameAlreadyDefined - if the name is already defined
inheritFrom
public static void inheritFrom(String name,
SymbolList ancestors)
throws NameAlreadyDefined
- copy names declared in an ancestor interface to the local scope
- Throws:
NameAlreadyDefined
isDefined
public static boolean isDefined(String name)
- check whether name is already defined
isDefined
public static boolean isDefined(String name,
IDLTypes kind)
Copyright © 2012 JacORB. All Rights Reserved.