org.objectweb.carol.cmi.compiler
Class TemplateCompiler

java.lang.Object
  extended byorg.objectweb.carol.cmi.compiler.TemplateCompiler
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogSystem

public class TemplateCompiler
extends java.lang.Object
implements org.apache.velocity.runtime.log.LogSystem


Field Summary
 
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
Constructor Summary
TemplateCompiler(Compiler c, ClassConf ccc)
           
 
Method Summary
 java.lang.String genConfig()
           
 java.lang.String genStub()
           
 void init(org.apache.velocity.runtime.RuntimeServices arg0)
           
 void logVelocityMessage(int arg0, java.lang.String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateCompiler

public TemplateCompiler(Compiler c,
                        ClassConf ccc)
                 throws CompilerException
Method Detail

genConfig

public java.lang.String genConfig()
                           throws CompilerException
Throws:
CompilerException

genStub

public java.lang.String genStub()
                         throws CompilerException
Throws:
CompilerException

init

public void init(org.apache.velocity.runtime.RuntimeServices arg0)
          throws java.lang.Exception
Specified by:
init in interface org.apache.velocity.runtime.log.LogSystem
Throws:
java.lang.Exception

logVelocityMessage

public void logVelocityMessage(int arg0,
                               java.lang.String arg1)
Specified by:
logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystem