IDLName
public String IDLName()
addRecursionScope
public static void addRecursionScope(String typeName)
basic
public boolean basic()
- basic in interface TypeSpec
clone
public Object clone()
- clone in interface TypeSpec
definePseudoScope
public 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
enumMap
public 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. Thus, enumeration values
have to be additionally scoped in Java.
escapeName
public void escapeName()
- escapeName in interface IdlSymbol
getTypeCodeExpression
public String getTypeCodeExpression()
- getTypeCodeExpression in interface TypeSpec
- a string for an expression of type TypeCode that describes this type
holderName
public String holderName()
- holderName in interface TypeSpec
id
public String id()
- id in interface IdlSymbol
- this symbol's repository Id
isPseudoScope
public static boolean isPseudoScope(String name)
isRecursionScope
public static boolean isRecursionScope(String typeName)
isSwitchable
public boolean isSwitchable()
- isSwitchable in interface org.jacorb.idl.SwitchTypeSpec
is_pseudo
public boolean is_pseudo()
is this a PIDL symbol?
- is_pseudo in interface IdlSymbol
parse
public void parse()
empty parse
- parse in interface TypeSpec
print
public void print(PrintWriter ps)
- print in interface TypeSpec
printExtractExpression
public String printExtractExpression()
- printExtractExpression in interface TypeSpec
printInsertExpression
public String printInsertExpression()
- printInsertExpression in interface TypeSpec
printReadExpression
public String printReadExpression(String streamname)
- printReadExpression in interface TypeSpec
printWriteStatement
public String printWriteStatement(String var_name,
String streamname)
- printWriteStatement in interface TypeSpec
removeRecursionScope
public static void removeRecursionScope(String typeName)
resolved
public boolean resolved()
resolvedName
public String resolvedName()
resolvedTypeSpec
public TypeSpec resolvedTypeSpec()
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
- setEnclosingSymbol in interface TypeSpec
setId
public void setId(String _id)
setPackage
public void setPackage(String s)
- setPackage in interface TypeSpec
toString
public String toString()
- toString in interface TypeSpec
typeName
public String typeName()
- typeName in interface TypeSpec
- the fully qualified and resolved name in an intermediate
format, i.e. with "Package" suffixes but without potential "omg.org"
scopes
unPseudoName
public static String unPseudoName(String name)
unPseudo transforms scoped names like
module.Interface1.Interface2.Type_name to
module.Interface1Package.Interface2Package.Type_name