| 
 | 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.OptionDescriptions
public class OptionDescriptions
Organizes all the option descriptions. Option descriptions can be loaded from the application data /appdata/options.xml, but also 
 from a plugin option description file (always with the name plugin.xml).
| Constructor Summary | |
|---|---|
| OptionDescriptions()Creates the Option Descriptions | |
| Method Summary | |
|---|---|
|  void | generateMaps()Creates several option maps for fast access to individual options. | 
|  Option | getOption(String optionflag)Returns an option based on the option flag | 
|  Option | getOption(String optiongroup,
                   String optionname)Returns an option based on the option name and/or the option group name | 
|  Collection<Option> | getOptionGroupList(String groupname)Returns a collection of option that are member of an option group | 
|  TreeSet<String> | getOptionGroupNameSet()Return a sorted set of option group names | 
|  Set<Option> | getSaveOptionSet()Returns a set of option that are marked as SAVEOPTION | 
|  void | parseOptionDescriptionXMLfile(URL url)Parse a XML file that contains the options used for controlling the application. | 
|  String | toString() | 
|  String | toStringMaps()Returns a string representation that contains printable information of several options maps | 
|  String | toStringOptionGroup(String groupname)Returns a string representation of a option group without the option group name in the string. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public OptionDescriptions()
| Method Detail | 
|---|
public Option getOption(String optiongroup,
                        String optionname)
                 throws MaltChainedException
optiongroup - the name of the option groupoptionname - the option name
MaltChainedException
public Option getOption(String optionflag)
                 throws MaltChainedException
optionflag - the option flag
MaltChainedExceptionpublic Set<Option> getSaveOptionSet()
public TreeSet<String> getOptionGroupNameSet()
public Collection<Option> getOptionGroupList(String groupname)
groupname - the name of the option group
public void parseOptionDescriptionXMLfile(URL url)
                                   throws MaltChainedException
url - The path to a XML file that explains the options used in the application.
OptionException
MaltChainedException
public void generateMaps()
                  throws MaltChainedException
OptionException
MaltChainedExceptionpublic String toStringMaps()
public String toStringOptionGroup(String groupname)
groupname - The option group name
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 | |||||||||