org.openorb.trader.compiler
Class StdlCompiler

java.lang.Object
  extended by org.openorb.trader.compiler.StdlCompiler
All Implemented Interfaces:
org.openorb.compiler.CompilerHost, org.openorb.compiler.CompilerIF

public class StdlCompiler
extends java.lang.Object
implements org.openorb.compiler.CompilerHost, org.openorb.compiler.CompilerIF

This class provides a simple ServiceType description compiler. It generates classes to create a service type, and to export offers.

Author:
Jerome Daniel

Constructor Summary
StdlCompiler()
           
 
Method Summary
 void compile_file(org.openorb.compiler.CompileListEntry cle, org.openorb.compiler.CompilerProperties cp)
           
 org.openorb.compiler.CompilerProperties createEmptyProperties()
           
 void display_help()
          Display help to known how to use this compiler
 void display(java.lang.String s)
           
 void execute_compiler(org.openorb.compiler.CompilerHost ch, org.openorb.compiler.CompilerProperties cp)
           
 void init_compiler(org.openorb.compiler.CompilerHost ch, org.openorb.compiler.CompilerProperties cp)
           
static void main(java.lang.String[] args)
          Program entry point
 void scan_args(java.lang.String[] args, org.openorb.compiler.CompilerProperties cp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdlCompiler

public StdlCompiler()
Method Detail

display_help

public void display_help()
Display help to known how to use this compiler

Specified by:
display_help in interface org.openorb.compiler.CompilerIF

scan_args

public void scan_args(java.lang.String[] args,
                      org.openorb.compiler.CompilerProperties cp)
Specified by:
scan_args in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

main

public static void main(java.lang.String[] args)
Program entry point


display

public void display(java.lang.String s)
Specified by:
display in interface org.openorb.compiler.CompilerHost
See Also:
CompilerHost.display(java.lang.String)

init_compiler

public void init_compiler(org.openorb.compiler.CompilerHost ch,
                          org.openorb.compiler.CompilerProperties cp)
Specified by:
init_compiler in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

execute_compiler

public void execute_compiler(org.openorb.compiler.CompilerHost ch,
                             org.openorb.compiler.CompilerProperties cp)
Specified by:
execute_compiler in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF

compile_file

public void compile_file(org.openorb.compiler.CompileListEntry cle,
                         org.openorb.compiler.CompilerProperties cp)
                  throws org.openorb.compiler.parser.CompilationException
Specified by:
compile_file in interface org.openorb.compiler.CompilerIF
Throws:
org.openorb.compiler.parser.CompilationException
See Also:
CompilerIF

createEmptyProperties

public org.openorb.compiler.CompilerProperties createEmptyProperties()
Specified by:
createEmptyProperties in interface org.openorb.compiler.CompilerIF
See Also:
CompilerIF.createEmptyProperties()