fr.umlv.tatoo.cc.tools.main
Class ToolsTask

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.main.AbstractTask<ToolsBean>
      extended by fr.umlv.tatoo.cc.tools.main.ToolsTask

public class ToolsTask
extends AbstractTask<ToolsBean>

Task of the parser generator.

Author:
Remi

Nested Class Summary
 class ToolsTask.Package
           
 
Nested classes/interfaces inherited from class fr.umlv.tatoo.cc.common.main.AbstractTask
AbstractTask.Extension, AbstractTask.FileAlias, AbstractTask.Generated, AbstractTask.InputFile, AbstractTask.InputFiles
 
Constructor Summary
ToolsTask()
           
 
Method Summary
 ToolsTask.Package createPackage()
           
 void execute()
           
protected  Unit getDefaultUnit()
           
 void setGenerateAST(boolean generateAST)
           
 void setLexerFile(File lexerFile)
           
 void setParserFile(File parserFile)
           
 void setToolsFile(File toolFile)
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.main.AbstractTask
bean, createExtension, createGenerated, createInputFiles, registerInputFile, setDefaultExtensions, setDestination, setLogLevel, setPackagePrefix, setValidating
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolsTask

public ToolsTask()
Method Detail

setLexerFile

public void setLexerFile(File lexerFile)

setParserFile

public void setParserFile(File parserFile)

setToolsFile

public void setToolsFile(File toolFile)

getDefaultUnit

protected Unit getDefaultUnit()
Specified by:
getDefaultUnit in class AbstractTask<ToolsBean>

setGenerateAST

public void setGenerateAST(boolean generateAST)

createPackage

public ToolsTask.Package createPackage()
Specified by:
createPackage in class AbstractTask<ToolsBean>

execute

public void execute()
             throws IOException,
                    ParserConfigurationException,
                    SAXException
Throws:
IOException
ParserConfigurationException
SAXException