Package | Description |
---|---|
org.maltparser.core.options |
Classes for management of all options used in the application and its plugins.
|
org.maltparser.core.options.option |
Contains classes for types of options.
|
Modifier and Type | Method and Description |
---|---|
Option |
OptionGroup.getOption(java.lang.String optionname)
Returns the option according to the option name.
|
Option |
OptionDescriptions.getOption(java.lang.String optionflag)
Returns an option based on the option flag
|
Option |
OptionDescriptions.getOption(java.lang.String optiongroup,
java.lang.String optionname)
Returns an option based on the option name and/or the option group name
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Option> |
OptionDescriptions.getOptionGroupList(java.lang.String groupname)
Returns a collection of option that are member of an option group
|
java.util.Collection<Option> |
OptionGroup.getOptionList()
Returns all options for this option group.
|
java.util.Set<Option> |
OptionDescriptions.getSaveOptionSet()
Returns a set of option that are marked as SAVEOPTION
|
Modifier and Type | Method and Description |
---|---|
void |
OptionGroup.addOption(Option option)
Adds an option to the option group.
|
protected boolean |
OptionValues.addOptionValue(int containerType,
int containerIndex,
Option option,
java.lang.Object value)
Adds an option value to an option to one of the internal option container specified by the type.
|
protected void |
OptionContainer.addOptionValue(int type,
Option option,
java.lang.Object value)
Adds an option value to an option to one of the internal option container specified by the type.
|
boolean |
OptionContainer.contains(int type,
Option option)
Returns true if the option is present in the specified internal option container, otherwise false.
|
java.lang.Object |
OptionValues.getOptionValue(int containerIndex,
Option option)
Returns the option value for an option that is in a specific option container.
|
java.lang.Object |
OptionContainer.getOptionValue(Option option)
Returns the option value object for the option.
|
java.lang.Object |
OptionValues.getOptionValue(Option option)
Returns the option value for an option.
|
java.lang.String |
OptionValues.getOptionValueString(int containerIndex,
Option option)
Returns a string representation of the option value for an option that is in a specific option container.
|
java.lang.String |
OptionContainer.getOptionValueString(Option option)
Returns a string representation of the option value for the specified option.
|
Modifier and Type | Class and Description |
---|---|
class |
BoolOption
A boolean option is an option that can only contain a boolean value (true or false).
|
class |
ClassOption
A class type option is an option that can only contain string value that corresponds to a class.
|
class |
EnumOption
An enumerate option is an option that can only contain string value, which is in the legal value set.
|
class |
IntegerOption
An integer option is an option that can only contain an integer value.
|
class |
StringEnumOption
A string enum type option is an option that can only contain string value that corresponds to another string.
|
class |
StringOption
A string option is an option that contains a string value.
|
class |
UnaryOption
An unary option is an option that doesn't need a value to the
specified.
|
Modifier and Type | Method and Description |
---|---|
int |
Option.compareTo(Option o) |
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.