public class ExceptionHolderTypeSpec extends TypeSpec
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name
parse_state, sym
Constructor and Description |
---|
ExceptionHolderTypeSpec(int num) |
Modifier and Type | Method and Description |
---|---|
boolean |
basic() |
java.lang.Object |
clone() |
java.lang.String |
getTypeCodeExpression() |
java.lang.String |
holderName() |
java.lang.String |
id() |
void |
parse()
empty parse
|
void |
print(java.io.PrintWriter ps) |
void |
printExtractResult(java.io.PrintWriter ps,
java.lang.String resultname,
java.lang.String anyname,
java.lang.String resulttype)
Prints the java-commands to extract the contents of the Any anyname
into a variable resultname with the type resulttype
|
void |
printInsertIntoAny(java.io.PrintWriter ps,
java.lang.String anyname,
java.lang.String varname)
Prints the java-commands to insert the variable varname into
the Any anyname
|
java.lang.String |
printReadExpression(java.lang.String streamname) |
java.lang.String |
printWriteStatement(java.lang.String var_name,
java.lang.String streamname) |
void |
set_constr(TypeDeclaration td) |
void |
setPackage(java.lang.String s) |
java.lang.String |
toString() |
java.lang.String |
typeName() |
TypeSpec |
typeSpec() |
accept, getIDLTypeName, getJavaTypeName, getTCKind, getTypeCodeExpression, helperName, printExtractExpression, printInsertExpression, printReadStatement, setEnclosingSymbol
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, getFullName, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printClassComment, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames
public void setPackage(java.lang.String s)
setPackage
in class TypeSpec
public boolean basic()
public void set_constr(TypeDeclaration td)
set_constr
in class TypeSpec
public void parse()
IdlSymbol
public java.lang.String id()
public java.lang.String getTypeCodeExpression()
getTypeCodeExpression
in class TypeSpec
public java.lang.String holderName()
holderName
in class TypeSpec
public java.lang.String printWriteStatement(java.lang.String var_name, java.lang.String streamname)
printWriteStatement
in class TypeSpec
public java.lang.String printReadExpression(java.lang.String streamname)
printReadExpression
in class TypeSpec
public void printInsertIntoAny(java.io.PrintWriter ps, java.lang.String anyname, java.lang.String varname)
TypeSpec
printInsertIntoAny
in class TypeSpec
ps
- Stream, the commands shall be written toanyname
- Name of the Any into which the variable shall be insertedvarname
- Name of the variable which shall be insertedpublic void printExtractResult(java.io.PrintWriter ps, java.lang.String resultname, java.lang.String anyname, java.lang.String resulttype)
TypeSpec
printExtractResult
in class TypeSpec
ps
- Stream, the commands shall be written toresultname
- Name of the result variableanyname
- Name of the Any holding the resultresulttype
- Type of the result variable