org.jacorb.idl
Class ExceptionHolderTypeSpec
java.lang.Object
org.jacorb.idl.runtime.symbol
org.jacorb.idl.IdlSymbol
org.jacorb.idl.TypeSpec
org.jacorb.idl.ExceptionHolderTypeSpec
public class ExceptionHolderTypeSpec
- extends TypeSpec
| Methods inherited from class org.jacorb.idl.IdlSymbol |
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 |
ExceptionHolderTypeSpec
public ExceptionHolderTypeSpec(int num)
clone
public Object clone()
- Overrides:
clone in class TypeSpec
typeName
public String typeName()
- Overrides:
typeName in class TypeSpec
typeSpec
public TypeSpec typeSpec()
- Overrides:
typeSpec in class TypeSpec
setPackage
public void setPackage(String s)
- Overrides:
setPackage in class TypeSpec
basic
public boolean basic()
- Overrides:
basic in class TypeSpec
- Returns:
- true if this is a basic type
set_constr
public void set_constr(TypeDeclaration td)
- Overrides:
set_constr in class TypeSpec
parse
public void parse()
- Description copied from class:
IdlSymbol
- empty parse
- Overrides:
parse in class TypeSpec
id
public String id()
- Overrides:
id in class IdlSymbol
- Returns:
- this symbol's repository Id
toString
public String toString()
- Overrides:
toString in class TypeSpec
getTypeCodeExpression
public String getTypeCodeExpression()
- Overrides:
getTypeCodeExpression in class TypeSpec
- Returns:
- a string for an expression of type TypeCode that describes this type
print
public void print(PrintWriter ps)
- Overrides:
print in class TypeSpec
holderName
public String holderName()
- Overrides:
holderName in class TypeSpec
printWriteStatement
public String printWriteStatement(String var_name,
String streamname)
- Overrides:
printWriteStatement in class TypeSpec
printReadExpression
public String printReadExpression(String streamname)
- Overrides:
printReadExpression in class TypeSpec
printInsertIntoAny
public void printInsertIntoAny(PrintWriter ps,
String anyname,
String varname)
- Description copied from class:
TypeSpec
- Prints the java-commands to insert the variable varname into
the Any anyname
- Overrides:
printInsertIntoAny in class TypeSpec
- Parameters:
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 inserted
printExtractResult
public void printExtractResult(PrintWriter ps,
String resultname,
String anyname,
String resulttype)
- Description copied from class:
TypeSpec
- Prints the java-commands to extract the contents of the Any anyname
into a variable resultname with the type resulttype
- Overrides:
printExtractResult in class TypeSpec
- Parameters:
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
Copyright © 2012 JacORB. All Rights Reserved.