| 
 | 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.OptionValues
public class OptionValues
OptionValues contain a number of option containers, which contains the option values (the instance of options).
| Constructor Summary | |
|---|---|
| OptionValues()Creates OptionValues. | |
| Method Summary | |
|---|---|
|  boolean | addOptionValue(int containerType,
                             int containerIndex,
                             Option option,
                             Object value)Adds an option value to an option to one of the internal option container specified by the type. | 
|  int | getNumberOfOptionValues(int containerIndex)Returns the number of option values for a particular option container. | 
|  Set<Integer> | getOptionContainerIndices()Returns a sorted set of container names. | 
|  Object | getOptionValue(int containerIndex,
                             Option option)Returns the option value for an option that is in a specific option container. | 
|  Object | getOptionValue(Option option)Returns the option value for an option. | 
|  String | getOptionValueString(int containerIndex,
                                         Option option)Returns a string representation of the option value for an option that is in a specific option container. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public OptionValues()
| Method Detail | 
|---|
public Object getOptionValue(int containerIndex,
                             Option option)
                      throws OptionException
containerIndex - the index of the option container.option - the option object
OptionException
public String getOptionValueString(int containerIndex,
                                   Option option)
                            throws OptionException
containerIndex - the index of the option container.option - an option object
OptionException
public Object getOptionValue(Option option)
                      throws OptionException
option - an option object
OptionExceptionpublic int getNumberOfOptionValues(int containerIndex)
containerIndex - The index of the option container.
public Set<Integer> getOptionContainerIndices()
public boolean addOptionValue(int containerType,
                              int containerIndex,
                              Option option,
                              Object value)
                       throws OptionException
containerType - the type of the option container.containerIndex - the index of the option container.option - an option to addvalue - an option value to add
OptionExceptionpublic 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 | |||||||||