ILOG JRules

ilog.rules.brl.translation.codegen
Class IlrBOMBasedCodeGenerator

java.lang.Object
  extended by ilog.rules.brl.translation.codegen.IlrAbstractCodeGenerator
      extended by ilog.rules.brl.translation.codegen.IlrBOMBasedCodeGenerator
All Implemented Interfaces:
IlrCodeGenerator, IlrIntermediateForm.Visitor
Direct Known Subclasses:
IlrIRLCodeGenerator

public abstract class IlrBOMBasedCodeGenerator
extends IlrAbstractCodeGenerator

Base Class for BOM Based code generators. Important note : this class must be used jointly with a IlrBOMTranslationSupport.


Field Summary
 
Fields inherited from class ilog.rules.brl.translation.codegen.IlrAbstractCodeGenerator
currentRuleStatement
 
Constructor Summary
IlrBOMBasedCodeGenerator()
           
 
Method Summary
 IlrBOMVocabulary getBOMVocabulary()
          Gets the vocabulary as an IlrBOMVocabulary.
 IlrObjectModel getObjectModel()
          Returns the BOM.
 
Methods inherited from class ilog.rules.brl.translation.codegen.IlrAbstractCodeGenerator
addIndent, close, flush, generateCode, getExtender, getIndent, getIndentSize, getTranslationSupport, getTranslator, getVocabulary, ignoreNewline, ignoreNewline, indent, indent, newline, print, print, println, reportDuplicateVariables, reportDuplicateVariables, reset, setIndentSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.brl.translation.codegen.IlrCodeGenerator
getTargetLanguage, setTranslator
 
Methods inherited from interface ilog.rules.brl.translation.IlrIntermediateForm.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit
 

Constructor Detail

IlrBOMBasedCodeGenerator

public IlrBOMBasedCodeGenerator()
Method Detail

getBOMVocabulary

public IlrBOMVocabulary getBOMVocabulary()
Gets the vocabulary as an IlrBOMVocabulary.

Returns:
The vocabulary as an IlrBOMVocabulary.

getObjectModel

public IlrObjectModel getObjectModel()
Returns the BOM.

Returns:
The BOM.

ILOG JRules