public class ClassChoice extends AbstractReflectedChoice
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log
The log stream
|
Constructor and Description |
---|
ClassChoice() |
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<?> |
getConversionClass()
The class that this Choice works on.
|
getFullPath, getHelpText, getKey, getString, getType, init, isHidden, isIgnored, isSaveable, requiresRestart, setFullPath, setHelpText, setString
public Class<?> 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