| 
 | MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.core.options.OptionGroup
public class OptionGroup
An option group categories a group of options.
| Field Summary | |
|---|---|
| static int | NOGROUPNAME | 
| static int | toStringSetting | 
| static int | WITHGROUPNAME | 
| Constructor Summary | |
|---|---|
| OptionGroup(String name)Creates an option group with an option group name. | |
| Method Summary | |
|---|---|
|  void | addOption(Option option)Adds an option to the option group. | 
|  String | getName()Returns the name of the option group | 
|  Option | getOption(String optionname)Returns the option according to the option name. | 
|  Collection<Option> | getOptionList()Returns all options for this option group. | 
|  void | setName(String name)Sets the name of the option group | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static int toStringSetting
public static final int WITHGROUPNAME
public static final int NOGROUPNAME
| Constructor Detail | 
|---|
public OptionGroup(String name)
name - The name of the option group| Method Detail | 
|---|
public String getName()
public void setName(String name)
name - the name of the option group
public void addOption(Option option)
               throws OptionException
option - an option
OptionExceptionpublic Option getOption(String optionname)
optionname - an option name
public Collection<Option> getOptionList()
public String toString()
toString in class Object| 
 | MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||