|
Public Member Functions |
| IDLtoAbeans () |
void | addPackageName (final PrintWriter output) |
void | translateData (IdlObject obj, String packageName) |
void | translateBean (IdlObject obj, String packageName) |
Private Member Functions |
String | removeAbeansPostfix (String packageName) |
void | addToPkg (IdlObject obj, String name) |
void | addDescriptiveHeader (PrintWriter output, IdlObject obj) |
void | translate_constant (IdlObject obj, File writeInto, PrintWriter print) |
void | generateArrayHelperMethods (IdlObject obj, PrintWriter output) |
void | write_helper (IdlObject obj, File writeInto) |
void | write_holder (IdlObject obj, File writeInto) |
void | translate_enum (IdlObject obj, File writeInto) |
void | translate_struct (IdlObject obj, File writeInto) |
void | translate_union (IdlObject obj, File writeInto) |
void | translate_typedef (IdlObject obj, File writeInto) |
void | translate_exception (IdlObject obj, File writeInto) |
boolean | translate_bean_interface_property (IdlObject obj, File writeInto, List inheritanceList) |
boolean | translate_bean_interface_callback (IdlObject obj, File writeInto, List inheritanceList) |
void | translate_bean_interface_property_Ptype (IdlObject obj, IdlInterface itf, IdlObject propertyType, IdlObject cbType, String historyHolder, PrintWriter output) |
void | translate_bean_interface_property_ROtype (IdlObject obj, IdlInterface itf, IdlObject propertyType, PrintWriter output) |
void | translate_bean_interface_property_RWtype (IdlObject obj, IdlInterface itf, IdlObject propertyType, PrintWriter output) |
void | translate_bean_interface (IdlObject obj, File writeInto) |
List | getInheritanceOpList (IdlObject obj, List opList, boolean includeInherited) |
void | translate_interface (IdlObject obj, File writeInto) |
void | translate_interface_interface (IdlObject obj, File writeInto) |
String[] | sortIntoArray (final List list) |
void | writeOperationHelperMethod (final IdlObject obj, final PrintWriter output) |
void | writeOperationHelperMethodHeader (final IdlObject obj, final PrintWriter output, final String operationPrefix) |
void | writeOperationHelperClass (final IdlObject obj, final PrintWriter output, final String baseName) |
void | writeOperationHelperClass (final PrintWriter output, final String baseName, final String name, final String operationPrefix) |
void | translate_module (IdlObject obj, File writeInto, int translateType) |
void | translate_bean_module (IdlObject obj, File writeInto) |
void | translate_value_type (IdlObject obj, File writeInto) |
void | writeDefaultValueFactory (final IdlValue obj, final File writeInto) |
void | writeDefaultValueImpl (final IdlValue obj, final File writeInto) |
void | translate_value_box (IdlObject obj, File writeInto) |
void | translate_native (IdlObject obj, File writeInto) |
void | translate_object_content (IdlObject obj, File writeInto, int translateType) |
void | translate_object (IdlObject obj, File writeInto, int translateType) |
void | translate_bean_object (IdlObject obj, File writeInto) |
Static Private Member Functions |
boolean | isNativeDefinition (IdlObject obj) |
void | printNativeDefinition (IdlObject obj, PrintWriter output) |
PrintWriter | fileAccess (File writeInto) |
String | inversedPrefix (String prefix) |
PrintWriter | newFile (File writeInto, String name) |
File | createDirectory (String name, File writeInto) |
File | createPrefixDirectories (String prefix, File writeInto) |
File | getDirectory (String name, File writeInto) |
File | getPrefixDirectories (String prefix, File writeInto) |
void | translate_comment_section (PrintWriter output, String description, IdlObject obj) |
void | javadoc (PrintWriter output, IdlObject obj) |
int | final_kind (IdlObject obj) |
IdlObject | final_type (IdlObject obj) |
String | adaptToDot (String path) |
String | fullname_CORBA (IdlObject obj) |
String | fullname (IdlObject obj) |
String | fullname (IdlObject obj, String postfix) |
boolean | isEnumCase (String expr) |
boolean | isSameScope (String ident, IdlObject obj) |
boolean | queryUseLongLiteral (final IdlObject obj) |
String | IdlScopeToJavaScope (String expr, boolean complete, boolean fixed, IdlObject obj) |
boolean | isHexChar (char c) |
String | IdlEspaceCharToJavaEscapeChar (String expr) |
String | translate_to_java_expression (String expr, boolean fixed, IdlObject obj) |
String | translate_to_union_case_expression (IdlUnionMember disc, String expr) |
String | translate_type (IdlObject obj) |
void | translate_type (IdlObject obj, PrintWriter output) |
String | translate_type_CORBA (IdlObject obj) |
void | translate_type_CORBA (IdlObject obj, PrintWriter output) |
String | translate_parameter (IdlObject obj, int attr) |
void | translate_parameter (IdlObject obj, PrintWriter output, int attr) |
void | translate_parameter_CORBA (IdlObject obj, PrintWriter output, int attr) |
String | get_array_name (IdlObject obj) |
void | translate_marshalling_member (IdlObject obj, PrintWriter output, String outname, String tname, String space) |
void | translate_unmarshalling_member (IdlObject obj, PrintWriter output, String inname, String tname, String space) |
String | translate_to_object (IdlObject obj, String tname) |
String | cast_to_abeans_type (IdlObject obj, String inname, boolean toObject) |
String | cast_to_abeans_type (IdlObject obj, String inname, boolean toObject, boolean stripOffSequence) |
String | cast_to_object_type (IdlObject obj, String inname, boolean fromObject) |
String | translate_from_object (IdlObject obj, String inname) |
IdlObject | getAsNext (IdlObject obj) |
String | fixEnumExpression (String expr) |
void | fromCORBA (IdlObject obj, String expr, PrintWriter output, int attr, boolean toObjectMapping) |
void | toCORBA (IdlObject obj, String expr, PrintWriter output, int attr, boolean fromObjectMapping) |
void | toCORBA (IdlObject obj, String expr, PrintWriter output, int attr, boolean fromObjectMapping, boolean parentArraySeq) |
String | find_default_value (IdlObject obj) |
void | translate_attribute (IdlObject obj, PrintWriter output) |
void | translate_bean_attribute (IdlObject obj, PrintWriter output, boolean isParentLinkable, boolean doesImplementInterceptor, boolean isAttributeLinkable) |
void | translate_bean_attribute (IdlObject obj, PrintWriter output, boolean isParentLinkable, boolean doesImplementInterceptor, boolean isAttributeLinkable, boolean declarationOnly) |
void | translate_read_attribute_proxy (IdlObject obj, PrintWriter output) |
void | translate_write_attribute_proxy (IdlObject obj, PrintWriter output) |
IdlContext | getContext (IdlObject obj) |
void | translate_operation (IdlObject obj, PrintWriter output) |
void | translate_operation_callback (IdlObject obj, PrintWriter output) |
void | translate_bean_operation (IdlObject obj, PrintWriter output, boolean isParentLinkable, boolean doesImplementInterceptor) |
void | translate_bean_operation (IdlObject obj, PrintWriter output, boolean isParentLinkable, boolean doesImplementInterceptor, boolean declarationOnly) |
void | translate_operation_proxy (String methodName, IdlObject obj, PrintWriter output) |
boolean | isEmptyValue (IdlObject obj) |
boolean | isEmpty (IdlObject obj) |
IdlInterface | findPtypeInterface (IdlObject obj) |
IdlObject | findCallbackType (IdlObject obj) |
String | mapPropertyToType (int type, boolean toObject) |
String | mapPropertyToType (int type, boolean toObject, boolean useAbeansName) |
String | mapPropertyToType (int type, boolean toObject, boolean useAbeansName, boolean stripObject) |
boolean | isNumbericScalarProperty (int type) |
boolean | isSequenceProperty (int type) |
int | mapPropertyToNonSeqType (int type) |
String | mapPropertyToResponseType (int type) |
int | mapProperty (IdlObject obj, PrintWriter output, int sequenceDepth) |
void | translate_bean_interface_property_constructors (IdlObject obj, PrintWriter output) |
boolean | isInto (List opList, IdlObject obj) |
List | getInheritanceList (IdlObject obj, List inList, boolean recursive) |
boolean | isInheritedFrom (IdlObject obj, String id) |
String | initialName (String name) |
void | writeMethodsForInterface (IdlObject obj, PrintWriter output, List declaredMethodsList, boolean recursive, boolean declareOnly) |
void | translate_state_member (IdlObject obj, PrintWriter output) |
List | getInheritedStateMember (IdlObject obj) |
void | writeDefaultMethods (final PrintWriter output, final IdlObject obj, final Set ids) |
void | writeDefaultMethodsForValueTypes (final PrintWriter output, final List list, final Set ids) |
void | writeDefaultMethodsForInterfaces (final PrintWriter output, final List list, final Set ids) |
void | writeDefaultAttribute (final PrintWriter output, final IdlAttribute obj) |
void | writeDefaultOperation (final PrintWriter output, final IdlOp obj) |
Private Attributes |
String | current_pkg = adaptToDot(IdlCompiler.packageName) |
IdlObject | _root = null |
File | initial = null |
Static Private Attributes |
final String | JAVADOC_AUTHOR = IDLtoAbeansCompiler.PRODUCT_NAME + " v" + IDLtoAbeansCompiler.VERSION |
final String | ABEANS_POSTFIX_DOTLESS = "abeans" |
final String | ABEANS_POSTFIX = "." + ABEANS_POSTFIX_DOTLESS |
final String | PROXY_POSTFIX_DOTLESS = "proxy" |
final String | PROXY_POSTFIX = "." + PROXY_POSTFIX_DOTLESS |
final String | BASE_CONNECTABLE_ID = "IDL:alma/ACS/CharacteristicComponent:1.0" |
final String | BASE_COMPONENT_ID = "IDL:alma/ACS/ACSComponent:1.0" |
final String | BASE_LINKABLE_ID = "IDL:alma/ACS/TypelessProperty:1.0" |
final String | BASE_PROPERTY_ID = "IDL:alma/ACS/TypelessProperty:1.0" |
final String | BASE_CALLBACK_ID = "IDL:alma/ACS/Callback:1.0" |
final String | GENERATED = "generated" |
final String | EMPTY_STRING = "" |
final String | tab = "\t" |
final String | tab1 = tab |
final String | tab2 = tab + tab |
final String | tab3 = tab + tab + tab |
final String | tab4 = tab + tab + tab + tab |
final String | tab5 = tab + tab + tab + tab + tab |
final int | INVALID_PROPERTY = -1 |
final int | DOUBLE_PROPERTY = 0 |
final int | LONG_PROPERTY = 1 |
final int | STRING_PROPERTY = 2 |
final int | OBJECT_PROPERTY = 3 |
final int | DOUBLE_SEQ_PROPERTY = 4 |
final int | LONG_SEQ_PROPERTY = 5 |
final int | STRING_SEQ_PROPERTY = 6 |
final int | OBJECT_SEQ_PROPERTY = 7 |
final int | PATTERN_PROPERTY = 8 |