org.ow2.mind.adl
Class AbstractSourceGenerator

java.lang.Object
  extended by org.ow2.mind.st.AbstractStringTemplateProcessor
      extended by org.ow2.mind.adl.AbstractSourceGenerator
Direct Known Subclasses:
BasicInstanceSourceGenerator, BinaryADLWriter, DefinitionHeaderSourceGenerator, DefinitionIncSourceGenerator, ImplementationHeaderSourceGenerator, MembraneSourceGenerator

public abstract class AbstractSourceGenerator
extends AbstractStringTemplateProcessor

Author:
ozcane

Field Summary
protected static java.util.logging.Logger depLogger
           
protected  InputResourceLocator inputResourceLocatorItf
           
protected  OutputFileLocator outputFileLocatorItf
           
 
Fields inherited from class org.ow2.mind.st.AbstractStringTemplateProcessor
templateGroupLoaderItf, templateGroupName
 
Constructor Summary
protected AbstractSourceGenerator(java.lang.String templateGroupName)
           
 
Method Summary
protected  boolean regenerate(java.io.File outputFile, org.objectweb.fractal.adl.Definition definition, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 
Methods inherited from class org.ow2.mind.st.AbstractStringTemplateProcessor
getInstanceOf, getTemplateLexer, initTemplateGroup, registerCustomRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

depLogger

protected static java.util.logging.Logger depLogger

outputFileLocatorItf

@Inject
protected OutputFileLocator outputFileLocatorItf

inputResourceLocatorItf

@Inject
protected InputResourceLocator inputResourceLocatorItf
Constructor Detail

AbstractSourceGenerator

protected AbstractSourceGenerator(java.lang.String templateGroupName)
Method Detail

regenerate

protected boolean regenerate(java.io.File outputFile,
                             org.objectweb.fractal.adl.Definition definition,
                             java.util.Map<java.lang.Object,java.lang.Object> context)


Copyright © 2009-2011 OW2. All Rights Reserved.