public class StringChoice extends AbstractReflectedChoice
The GNU Lesser General Public License for details.
Constructor and Description |
---|
StringChoice() |
Modifier and Type | Method and Description |
---|---|
Object |
convertToObject(String orig)
Convert from a stored string to an object to use with reflection
|
String |
convertToString(Object orig)
Convert from a reflection return value to a String for storage
|
Class<String> |
getConversionClass()
The class that this Choice works on.
|
getFullPath, getHelpText, getKey, getString, getType, init, isHidden, isIgnored, isSaveable, requiresRestart, setFullPath, setHelpText, setString
public Class<String> getConversionClass()
Choice
public String convertToString(Object orig)
AbstractReflectedChoice
convertToString
in class AbstractReflectedChoice
orig
- the object to be converted to a stringpublic Object convertToObject(String orig)
AbstractReflectedChoice
convertToObject
in class AbstractReflectedChoice
orig
- the marshaled representation of the object