org.jcommando
Class GeneratedParser

java.lang.Object
  extended byorg.jcommando.JCommandParser
      extended byorg.jcommando.GeneratedParser
Direct Known Subclasses:
JCommandoGen

public abstract class GeneratedParser
extends JCommandParser

JCommando generated parser class.


Field Summary
 
Fields inherited from class org.jcommando.JCommandParser
commands, commandsById, optionsById, optionsByLong, optionsByShort
 
Constructor Summary
GeneratedParser()
          JCommando generated constructor.
 
Method Summary
abstract  void doGenerate()
          Called by parser to perform the 'generate' command.
abstract  void setClassName(java.lang.String className)
          Called by parser to set the 'className' property.
abstract  void setDestDir(java.lang.String destDir)
          Called by parser to set the 'destDir' property.
abstract  void setHelp()
          Called by parser to set the 'help' property.
abstract  void setInputFile(java.lang.String inputFile)
          Called by parser to set the 'inputFile' property.
abstract  void setPackageName(java.lang.String packageName)
          Called by parser to set the 'packageName' property.
 
Methods inherited from class org.jcommando.JCommandParser
addCommand, addOption, getOptionById, parse, printUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedParser

public GeneratedParser()
JCommando generated constructor.

Method Detail

setInputFile

public abstract void setInputFile(java.lang.String inputFile)
Called by parser to set the 'inputFile' property.

Parameters:
inputFile - the value to set.

setClassName

public abstract void setClassName(java.lang.String className)
Called by parser to set the 'className' property.

Parameters:
className - the value to set.

setPackageName

public abstract void setPackageName(java.lang.String packageName)
Called by parser to set the 'packageName' property.

Parameters:
packageName - the value to set.

setDestDir

public abstract void setDestDir(java.lang.String destDir)
Called by parser to set the 'destDir' property.

Parameters:
destDir - the value to set.

setHelp

public abstract void setHelp()
Called by parser to set the 'help' property.


doGenerate

public abstract void doGenerate()
Called by parser to perform the 'generate' command.