org.jacorb.idl
public class TypeSpec extends IdlSymbol
Version: $Id: TypeSpec.java,v 1.26 2007/02/06 22:50:35 andre.spiegel Exp $
Field Summary | |
---|---|
protected String | alias |
TypeSpec | type_spec |
Constructor Summary | |
---|---|
TypeSpec(int num) |
Method Summary | |
---|---|
void | accept(IDLTreeVisitor visitor) |
boolean | basic() |
Object | clone() |
String | getIDLTypeName()
get this symbol's IDL type name |
String | getJavaTypeName()
get this types's mapped Java name |
int | getTCKind() |
String | getTypeCodeExpression(Set knownTypes) |
String | getTypeCodeExpression() |
String | helperName() |
String | holderName() |
void | parse() |
void | print(PrintWriter ps) |
String | printExtractExpression() |
void | printExtractResult(PrintWriter ps, String resultname, String anyname, String resulttype)
Prints the java-commands to extract the contents of the Any anyname
into a variable resultname with the type resulttype
|
String | printInsertExpression() |
void | printInsertIntoAny(PrintWriter ps, String anyname, String varname)
Prints the java-commands to insert the variable varname into
the Any anyname
|
String | printReadExpression(String streamname) |
String | printReadStatement(String var_name, String streamname) |
String | printWriteStatement(String var_name, String streamname) |
void | setEnclosingSymbol(IdlSymbol s) |
void | setPackage(String s) |
void | set_constr(TypeDeclaration td) |
String | toString() |
String | typeName() |
TypeSpec | typeSpec() |
Returns: true if this is a basic type
Returns: a string for an expression of type TypeCode that describes this type
Parameters: ps Stream, the commands shall be written to resultname Name of the result variable anyname Name of the Any holding the result resulttype Type of the result variable
Parameters: ps Stream, the commands shall be written to anyname Name of the Any into which the variable shall be inserted varname Name of the variable which shall be inserted
Deprecated: use either getJavaTypeName() or getIDLTypeName()