fr.umlv.tatoo.cc.common.main
Class GeneratorBean

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.main.GeneratorBean
Direct Known Subclasses:
LexerBean, MainBean, ParserBean, ToolsBean

public abstract class GeneratorBean
extends Object


Nested Class Summary
static class GeneratorBean.GenerateOption
           
 
Constructor Summary
protected GeneratorBean()
           
 
Method Summary
 void addInputFile(Unit unit, File file)
           
 void addInputFilenames(Unit unit, List<? extends String> filenames)
           
 void addInputFiles(Unit unit, List<? extends File> files)
           
 void finish()
           
 Map<AliasPrototype,? extends Alias> getAliasMap()
           
 List<? extends File> getAllInputFiles()
           
 File getDestination()
           
 ExtensionBus getExtensionBus()
           
 boolean getGenerateDefault()
           
 List<? extends File> getInputFiles(Unit unit)
           
 Level getLogLevel()
           
 String getPackage(Unit tool)
           
 boolean isRegisterDefaultExtensions()
           
 boolean isValidating()
           
 void registerDefaults(AliasPrototype... prototypes)
           
 void setAllPackages(String packagePrefix)
           
 void setDestination(File destination)
           
 void setGenerate(AliasPrototype prototype, GeneratorBean.GenerateOption option)
           
 void setGenerateDefault(boolean generateDefault)
           
 void setLogLevel(Level level)
           
 void setPackage(Unit unit, String packageRoot)
           
 void setRegisterDefaultExtensions(boolean registerDefaultExtensions)
           
 void setTypeName(AliasPrototype prototype, String typeName)
           
 void setValidating(boolean validating)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorBean

protected GeneratorBean()
Method Detail

setAllPackages

public void setAllPackages(String packagePrefix)

getPackage

public String getPackage(Unit tool)

setPackage

public void setPackage(Unit unit,
                       String packageRoot)

addInputFiles

public void addInputFiles(Unit unit,
                          List<? extends File> files)

addInputFile

public void addInputFile(Unit unit,
                         File file)

addInputFilenames

public void addInputFilenames(Unit unit,
                              List<? extends String> filenames)

getInputFiles

public List<? extends File> getInputFiles(Unit unit)

getAllInputFiles

public List<? extends File> getAllInputFiles()

getDestination

public File getDestination()

setDestination

public void setDestination(File destination)

setLogLevel

public void setLogLevel(Level level)

getLogLevel

public Level getLogLevel()

setValidating

public void setValidating(boolean validating)

isValidating

public boolean isValidating()

getGenerateDefault

public boolean getGenerateDefault()

setGenerateDefault

public void setGenerateDefault(boolean generateDefault)

setGenerate

public void setGenerate(AliasPrototype prototype,
                        GeneratorBean.GenerateOption option)

setTypeName

public void setTypeName(AliasPrototype prototype,
                        String typeName)

registerDefaults

public void registerDefaults(AliasPrototype... prototypes)

getExtensionBus

public ExtensionBus getExtensionBus()

isRegisterDefaultExtensions

public boolean isRegisterDefaultExtensions()

setRegisterDefaultExtensions

public void setRegisterDefaultExtensions(boolean registerDefaultExtensions)

getAliasMap

public Map<AliasPrototype,? extends Alias> getAliasMap()

finish

public void finish()