org.jacorb.idl
public class ScopedName extends SimpleTypeSpec implements SwitchTypeSpec
Version: $Id: ScopedName.java,v 1.37 2006/06/20 12:14:35 alphonse.bendt Exp $
Field Summary | |
---|---|
String | typeName |
Constructor Summary | |
---|---|
ScopedName(int num) |
Method Summary | |
---|---|
static void | addRecursionScope(String typeName) |
boolean | basic() |
Object | clone() |
static void | definePseudoScope(String name)
Interfaces define a new scope, but since we can't do that
in Java, this kind of scope is called a 'pseudo scope' and
is just prepended to the interface name |
static void | enumMap(String n, String m)
enumerations don't define new scopes in IDL, but their
mapping to Java introduces a new scope by generating
a new class for the enum's type. |
void | escapeName() |
String | getTypeCodeExpression() |
String | holderName() |
String | id() |
boolean | isEscaped(String name) |
static boolean | isPseudoScope(String name) |
static boolean | isRecursionScope(String typeName) |
boolean | isSwitchable() |
boolean | is_pseudo() |
String | IDLName() |
void | parse() |
void | print(PrintWriter ps) |
String | printExtractExpression() |
String | printInsertExpression() |
String | printReadExpression(String streamname) |
String | printWriteStatement(String var_name, String streamname) |
static void | removeRecursionScope(String typeName) |
boolean | resolved() |
String | resolvedName() |
TypeSpec | resolvedTypeSpec() |
void | setEnclosingSymbol(IdlSymbol s) |
void | setId(String _id) |
void | setPackage(String s) |
String | toString() |
String | typeName() |
TypeSpec | typeSpec() |
static String | unPseudoName(String name)
unPseudo transforms scoped names like
module.Interface1.Interface2.Type_name to
module.Interface1Package.Interface2Package.Type_name |
Returns: a string for an expression of type TypeCode that describes this type
Returns: the fully qualified and resolved name in an intermediate format, i.e. with "Package" suffixes but without potential "omg.org" scopes