org.openorb.trader.compiler.generator

Class STDLGenerator

public class STDLGenerator extends IdlToJava

This class provides a generator to facilitate the Trading Service usage.

Author: Jerome Daniel

Constructor Summary
STDLGenerator(StdlCompilerProperties scp)
Method Summary
voidtranslate_object(IdlObject obj, File writeInto, int translateType)
Apply the mapping
voidtranslate_object_content(IdlObject obj, File writeInto, int translateType)
Translate all service descriptions
voidtranslate_service(IdlObject obj, String packageName)
This operation is used from the STDL compiler to generate Java classes.
voidtranslate_service_to_helper(IdlObject obj, String packageName)
This operation is used from the STDL compiler to generate helper classes.

Constructor Detail

STDLGenerator

public STDLGenerator(StdlCompilerProperties scp)

Method Detail

translate_object

public void translate_object(IdlObject obj, File writeInto, int translateType)
Apply the mapping

translate_object_content

public void translate_object_content(IdlObject obj, File writeInto, int translateType)
Translate all service descriptions

translate_service

public void translate_service(IdlObject obj, String packageName)
This operation is used from the STDL compiler to generate Java classes.

translate_service_to_helper

public void translate_service_to_helper(IdlObject obj, String packageName)
This operation is used from the STDL compiler to generate helper classes.