fr.umlv.tatoo.cc.ebnf.main
Class EBNFTask

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.main.AbstractTask<MainBean>
      extended by fr.umlv.tatoo.cc.ebnf.main.EBNFTask

public class EBNFTask
extends AbstractTask<MainBean>

Task of the EBNF.

Author:
Remi

Nested Class Summary
 class EBNFTask.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
EBNFTask()
           
 
Method Summary
 EBNFTask.Package createPackage()
           
 void execute()
           
protected  Unit getDefaultUnit()
           
protected  void registerInputFile(Unit unit, File inputFile)
           
 void setConflictResolver(String conflictResolverType)
           
 void setEBNFFile(File ebnfFile)
           
 void setGenerateAST(boolean generateAST)
           
 void setLexerFile(File lexerFile)
           
 void setLexerType(String type)
           
 void setLogFile(File file)
           
 void setParserFile(File parserFile)
           
 void setParserType(String parserType)
           
 void setToolsFile(File toolsFile)
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.main.AbstractTask
bean, createExtension, createGenerated, createInputFiles, 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

EBNFTask

public EBNFTask()
Method Detail

setEBNFFile

public void setEBNFFile(File ebnfFile)

setLexerFile

public void setLexerFile(File lexerFile)

setParserFile

public void setParserFile(File parserFile)

setToolsFile

public void setToolsFile(File toolsFile)

getDefaultUnit

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

registerInputFile

protected void registerInputFile(Unit unit,
                                 File inputFile)
Overrides:
registerInputFile in class AbstractTask<MainBean>

setLexerType

public void setLexerType(String type)

setLogFile

public void setLogFile(File file)

setParserType

public void setParserType(String parserType)

setConflictResolver

public void setConflictResolver(String conflictResolverType)

setGenerateAST

public void setGenerateAST(boolean generateAST)

createPackage

public EBNFTask.Package createPackage()
Specified by:
createPackage in class AbstractTask<MainBean>

execute

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