Public Member Functions | |
| JavaGenerator (Set xmlTypedefNodes, Set nodesToBeGenerated) | |
| void | translate_object_content (IdlObject obj, File writeInto, int translateType) |
| void | translate_interface (IdlObject obj, File writeInto) |
| void | write_helper (IdlObject obj, File writeInto) |
| void | write_holder (IdlObject obj, File writeInto) |
| PrintWriter | fileAccess (File writeInto) |
| void | translate_type (IdlObject obj, PrintWriter output) |
| void | translate_parameter (IdlObject obj, PrintWriter output, int attr) |
| void | addDescriptiveHeader (PrintWriter output, IdlObject obj) |
| void | translate_exception (IdlObject obj, File writeInto) |
| File | createDirectory (String name, File writeInto) |
Static Public Member Functions | |
| NamingConventions | getNamingConventions () |
Package Functions | |
| void | setIdlStruct2JavaBindingClassMappings (String mappings) |
| String | getXmlBindingClass (String structTypeName) |
Private Attributes | |
| Set | m_xmlTypedefNodes |
| Map | m_struct2JavaMap |
| Set | m_nodesToBeGenerated |
|
||||||||||||
|
Constructor for JavaGenerator. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Overloaded to use our StrippingPrintWriter instead of a normal PrintWriter
|
|
|
|
|
|
Translates an IDL xml wrapper struct to the qualified name of the Java binding class that should appear in the "inner" interface. |
|
|
Sets the mappings from
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Suppresses generation of helper classes and acts as a dirty shortcut to generate holder classes for typedefs. According to the OMG IDL2Java mapping, Typedefs for types that are neither arrays nor sequences are unwound to their original type until a simple IDL type or user-defined IDL type (of the non typedef variety) is encountered. Holder classes are generated for sequence and array typedefs only. The unwound type’s Holder class is used for the other cases.
A
|
|
||||||||||||
|
|
|
|
used as a filter to exclude idl nodes from generation, e.g. interfaces without xml entity objects |
|
|
|
|
|
|
1.3.8