mjc

org.multijava.util.lexgen
Class LexgenOptions

java.lang.Object
  extended byorg.multijava.util.Options
      extended byorg.multijava.util.lexgen.LexgenOptions

public class LexgenOptions
extends Options

This class is automatically generated from LexgenOptions.opt and contains member fields corresponding to command-line options.


Field Summary
private  boolean definition
           
private  boolean inter
           
private  boolean keywords
           
private static gnu.getopt.LongOpt[] LONGOPTS
           
 
Fields inherited from class org.multijava.util.Options
 
Constructor Summary
LexgenOptions()
           
LexgenOptions(String name)
           
 
Method Summary
 boolean definition()
           
 Hashtable getCurrentValue()
          Returns the current value
 Hashtable getDefaultValue()
          Returns the default value
 Hashtable getGuiType()
          Returns the GUI categories that this option is in
 Hashtable getHelpString()
          Returns the help messages
 LinkedHashSet getLongname()
          Returns the longname
 gnu.getopt.LongOpt[] getLongOptions()
          Gets long options
 HashMap getOptions()
           
 Hashtable getSelectionList()
          Returns the list of selections for an option
 String getShortOptions()
          Gets short options
 Hashtable getTableHeader()
          Returns the header for a table
 Hashtable getType()
          Returns the type
 void help()
           
 boolean inter()
           
 boolean keywords()
           
 boolean processOption(int code, gnu.getopt.Getopt g)
          Handles the option identified by the given code, perhaps using g to process any arguments to the option.
 boolean set_definition(boolean definition)
           
 boolean set_inter(boolean inter)
           
 boolean set_keywords(boolean keywords)
           
 boolean setOption(String name, Object newValue)
           
 void usage()
           
 
Methods inherited from class org.multijava.util.Options
formOneColumnArray, formTwoColumnArray, getInt, getNonNullString, getNonNullStringArray, getString, getString, getSystemProperty, nonOptions, parseCommandLine, parseCommandLine, printOptions, printVersion, version, Xnoversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definition

private boolean definition

inter

private boolean inter

keywords

private boolean keywords

LONGOPTS

private static final gnu.getopt.LongOpt[] LONGOPTS
Constructor Detail

LexgenOptions

public LexgenOptions(String name)

LexgenOptions

public LexgenOptions()
Method Detail

definition

public boolean definition()

set_definition

public boolean set_definition(boolean definition)

inter

public boolean inter()

set_inter

public boolean set_inter(boolean inter)

keywords

public boolean keywords()

set_keywords

public boolean set_keywords(boolean keywords)

processOption

public boolean processOption(int code,
                             gnu.getopt.Getopt g)
Description copied from class: Options
Handles the option identified by the given code, perhaps using g to process any arguments to the option. This method is typically overridden in subclasses to process additional arguments with the subclass defering to the superclass if code is unknown.

Overrides:
processOption in class Options

setOption

public boolean setOption(String name,
                         Object newValue)
Overrides:
setOption in class Options

getOptions

public HashMap getOptions()
Overrides:
getOptions in class Options

getLongname

public LinkedHashSet getLongname()
Description copied from class: Options
Returns the longname

Overrides:
getLongname in class Options

getType

public Hashtable getType()
Description copied from class: Options
Returns the type

Overrides:
getType in class Options

getDefaultValue

public Hashtable getDefaultValue()
Description copied from class: Options
Returns the default value

Overrides:
getDefaultValue in class Options

getCurrentValue

public Hashtable getCurrentValue()
Description copied from class: Options
Returns the current value

Overrides:
getCurrentValue in class Options

getTableHeader

public Hashtable getTableHeader()
Description copied from class: Options
Returns the header for a table

Overrides:
getTableHeader in class Options

getSelectionList

public Hashtable getSelectionList()
Description copied from class: Options
Returns the list of selections for an option

Overrides:
getSelectionList in class Options

getHelpString

public Hashtable getHelpString()
Description copied from class: Options
Returns the help messages

Overrides:
getHelpString in class Options

getGuiType

public Hashtable getGuiType()
Description copied from class: Options
Returns the GUI categories that this option is in

Overrides:
getGuiType in class Options

getShortOptions

public String getShortOptions()
Description copied from class: Options
Gets short options

Overrides:
getShortOptions in class Options

usage

public void usage()
Description copied from class: Options
shows a help message


help

public void help()
Description copied from class: Options
shows an usage message


getLongOptions

public gnu.getopt.LongOpt[] getLongOptions()
Description copied from class: Options
Gets long options

Overrides:
getLongOptions in class Options

mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.