|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.openorb.compiler.generator.IdlToJava
|
+--org.openorb.rmi.compiler.generator.javatoidl
This class takes an IDL graph and generates its IDL description.
| Fields inherited from class org.openorb.compiler.generator.IdlToJava |
_root, current_pkg, tab, tab1, tab2, tab3, tab4, tab5, tab6 |
| Constructor Summary | |
javatoidl()
Constructor |
|
| Method Summary | |
java.lang.String |
adaptExpression(java.lang.String expr)
This method adapts an expression to be valid in an IDL description |
java.lang.String |
adaptToRMI(org.openorb.compiler.object.IdlObject obj)
Adapt an identifier to RMI naming |
java.lang.String |
correctIdentifier(java.lang.String expr)
This method corrects an identifier to be a valid IDL identifier |
java.io.PrintWriter |
create_idl_file(java.lang.String file_name)
This method creates an IDL file. |
java.lang.String |
fullname_idl(org.openorb.compiler.object.IdlObject obj)
This method returns a full name for a IDL item. |
java.lang.String |
fullnameOpaque(org.openorb.compiler.object.IdlObject obj)
This "fullname" with Opaque value as last part |
void |
indent(java.io.PrintWriter writeInto)
This method indents a file |
void |
indent(java.lang.String msg,
java.io.PrintWriter writeInto)
This method indents a file |
java.lang.String |
pragmaName(java.lang.String name)
This method returns a pragma name |
void |
translate_marshalling_data(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
java.lang.String outname,
java.lang.String tname)
Translate an unmarshalling for a RMI data |
void |
translate_operation_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
Translate an operation for a RMI stub |
void |
translate_operation_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Translate an operation for RMI Tie |
void |
translate_parameter(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
int attr)
Translate a parameter |
void |
translate_read_attribute_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
Translate an read attribute for a RMI stub |
void |
translate_read_attribute_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Translate a read attribute for RMI Tie |
void |
translate_rmi_stub_interface(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an interface for the RMI Stub |
void |
translate_rmi_stub_module(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate a module for the RMI Stub |
void |
translate_rmi_stub(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an object for the RMI stub |
void |
translate_rmi_tie_interface(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an interface for the RMI Tie |
void |
translate_rmi_tie_module(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate a module for the RMI Tie |
void |
translate_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an object for the RMI Tie |
void |
translate_type(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Translate a type |
void |
translate_unmarshalling_data(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
java.lang.String inname)
Translate an unmarshalling for a RMI data |
void |
translate_write_attribute_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
Translate a write attribute for a RMI stub |
void |
translate_write_attribute_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Translate a write attribute for RMI Tie |
void |
translateAttribute(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Attribute |
void |
translateConstant(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a Constant |
void |
translateDescription(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates IDL description to an IDL file. |
void |
translateEnum(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Enum |
void |
translateException(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Exception |
void |
translateInit(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an init member |
void |
translateInterface(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Interface |
void |
translateInternalDescription(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an internal IDL description to an IDL file. |
void |
translateModule(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a Module |
void |
translateNative(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a Native |
void |
translateOperation(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Operation |
void |
translateParameter(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a IDL parameter |
void |
translateRMIStub(org.openorb.compiler.object.IdlObject root)
This method creates an Stub class for a RMI object. |
void |
translateRMITie(org.openorb.compiler.object.IdlObject root)
This method creates an Tie class for a RMI object. |
void |
translateStateMember(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a state member |
void |
translateStruct(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a Struct |
void |
translateToIDL(org.openorb.compiler.object.IdlObject root,
java.lang.String file_name)
This method translates IDL descriptions to an IDL file and creates the IDL file. |
void |
translateType(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto,
java.lang.String name,
boolean write)
This method translates a IDL type |
void |
translateTypedef(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a TypeDef |
void |
translateUnion(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates an Union |
void |
translateValueBox(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a ValueBox |
void |
translateValueType(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
This method translates a ValueType |
| Methods inherited from class org.openorb.compiler.generator.IdlToJava |
addDescriptiveHeader, addPackageName, addToPkg, createDirectory, createPrefixDirectories, fileAccess, final_kind, final_type, find_default_value, fullname, get_array_name, getContext, getDirectory, getPrefixDirectories, IdlEspaceCharToJavaEscapeChar, IdlScopeToJavaScope, inversedPrefix, isAbstractBaseInterface, isEmpty, isEmptyInterface, isEmptyValue, isEnumCase, isHexaCar, isInto, isNativeDefinition, isSameScope, isTruncatable, javadoc, newFile, printConcreteTypeCode, printNativeDefinition, recursion, removePackageName, translate_any_insert, translate_attribute_stub_stream, translate_attribute_stub, translate_attribute_tie, translate_attribute, translate_comment_section, translate_constant, translate_enum, translate_exception, translate_interface_operations, translate_interface_skel, translate_interface_stub, translate_interface_tie, translate_interface, translate_marshalling_member, translate_marshalling, translate_module, translate_native, translate_new_typecode, translate_object_content, translate_object, translate_operation_skel_stream, translate_operation_skel, translate_operation_stub_stream, translate_operation_stub, translate_operation_tie, translate_operation, translate_read_attribute_skel_stream, translate_read_attribute_skel, translate_state_member, translate_struct, translate_to_java_expression, translate_to_union_case_expression, translate_typecode, translate_typedef, translate_union, translate_unmarshalling_member, translate_unmarshalling, translate_user_attribute, translate_user_interface, translate_user_module, translate_user_object, translate_user_operation, translate_value_box, translate_value_type, translate_write_attribute_skel_stream, translate_write_attribute_skel, translateData, translateSkeleton, translateStub, translateTIE, translateUser, write_helper, write_holder, writeDefaultAttribute, writeDefaultMethods, writeDefaultMethodsForInterfaces, writeDefaultMethodsForValueTypes, writeDefaultOperation, writeDefaultValueFactory, writeDefaultValueImpl |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public javatoidl()
| Method Detail |
public void indent(java.io.PrintWriter writeInto)
public void indent(java.lang.String msg,
java.io.PrintWriter writeInto)
public java.io.PrintWriter create_idl_file(java.lang.String file_name)
public java.lang.String fullname_idl(org.openorb.compiler.object.IdlObject obj)
public void translateType(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto,
java.lang.String name,
boolean write)
public void translateParameter(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateModule(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateEnum(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateStruct(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateUnion(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateException(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateTypedef(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateValueBox(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateInit(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateStateMember(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateAttribute(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateOperation(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateValueType(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateInterface(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public java.lang.String correctIdentifier(java.lang.String expr)
public java.lang.String adaptExpression(java.lang.String expr)
public void translateConstant(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateNative(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateInternalDescription(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public java.lang.String pragmaName(java.lang.String name)
public void translateDescription(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter writeInto)
public void translateToIDL(org.openorb.compiler.object.IdlObject root,
java.lang.String file_name)
public java.lang.String adaptToRMI(org.openorb.compiler.object.IdlObject obj)
public void translate_type(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
translate_type in class org.openorb.compiler.generator.IdlToJava
public void translate_parameter(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
int attr)
translate_parameter in class org.openorb.compiler.generator.IdlToJava
public void translate_marshalling_data(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
java.lang.String outname,
java.lang.String tname)
translate_marshalling_data in class org.openorb.compiler.generator.IdlToJava
public void translate_unmarshalling_data(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
java.lang.String inname)
translate_unmarshalling_data in class org.openorb.compiler.generator.IdlToJava
public void translate_read_attribute_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
public void translate_write_attribute_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
public void translate_operation_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
public void translate_rmi_tie_interface(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translate_rmi_tie_module(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translate_rmi_tie(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translateRMITie(org.openorb.compiler.object.IdlObject root)
public java.lang.String fullnameOpaque(org.openorb.compiler.object.IdlObject obj)
public void translate_operation_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
public void translate_read_attribute_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
public void translate_write_attribute_rmi_stub(org.openorb.compiler.object.IdlObject obj,
org.openorb.compiler.object.IdlObject base,
java.io.PrintWriter output)
public void translate_rmi_stub_interface(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translate_rmi_stub_module(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translate_rmi_stub(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
public void translateRMIStub(org.openorb.compiler.object.IdlObject root)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||