|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.whatsnew.options.Option | +--net.sf.whatsnew.options.StringOption
A String Option
Constructor Summary | |
protected |
StringOption(java.lang.String defaultValue)
Creates a new StringOption object. |
Method Summary | |
java.lang.Object |
getDefaultValue()
Getter for #defaultValue |
protected OptionValue |
getOptionValue(java.lang.Object value)
Gets option value |
OptionValue |
getValue(java.lang.Object value)
Gets value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected StringOption(java.lang.String defaultValue)
defaultValue
- Option default valueMethod Detail |
protected OptionValue getOptionValue(java.lang.Object value) throws InvalidOptionValue
getOptionValue
in class net.sf.whatsnew.options.Option
value
- The value to use if possibleInvalidOptionValue
- If the object type is invalidpublic java.lang.Object getDefaultValue()
#defaultValue
public OptionValue getValue(java.lang.Object value) throws InvalidOptionValue
value
- The value to associate, or null
to use default
valueInvalidOptionValue
- If the object type is invalid
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |