fr.umlv.tatoo.cc.parser.main
Class ParserTask

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.main.AbstractTask<ParserBean>
      extended by fr.umlv.tatoo.cc.parser.main.ParserTask

public class ParserTask
extends AbstractTask<ParserBean>

Main of the parser generator.

Author:
remi

Nested Class Summary
 class ParserTask.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
  ParserTask()
           
protected ParserTask(AliasPrototype[] aliases)
           
 
Method Summary
 ParserTask.Package createPackage()
           
 void execute()
           
protected  Unit getDefaultUnit()
           
 void setConflictResolver(String conflictResolverType)
           
 void setLogFile(File file)
           
 void setParserFile(File parserFile)
           
 void setParserType(String parserType)
           
 
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

ParserTask

protected ParserTask(AliasPrototype[] aliases)

ParserTask

public ParserTask()
Method Detail

setParserFile

public void setParserFile(File parserFile)

getDefaultUnit

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

setLogFile

public void setLogFile(File file)

setParserType

public void setParserType(String parserType)

setConflictResolver

public void setConflictResolver(String conflictResolverType)

createPackage

public ParserTask.Package createPackage()
Specified by:
createPackage in class AbstractTask<ParserBean>

execute

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