net.sf.saffron.util
Class OptionsListTest.StringBufferOptionsHandler
java.lang.Object
|
+--net.sf.saffron.util.OptionsListTest.StringBufferOptionsHandler
- All Implemented Interfaces:
- OptionsList.OptionHandler
- Enclosing class:
- OptionsListTest
- public static class OptionsListTest.StringBufferOptionsHandler
- extends Object
- implements OptionsList.OptionHandler
Implementation of OptionsList.OptionHandler
which
writes to a buffer. For testing purposes.
buf_
private StringWriter buf_
OptionsListTest.StringBufferOptionsHandler
public OptionsListTest.StringBufferOptionsHandler()
set
public void set(OptionsList.Option option,
Object value,
boolean isExplicit)
- Specified by:
set
in interface OptionsList.OptionHandler
invalidValue
public void invalidValue(OptionsList.Option option,
String value)
- Specified by:
invalidValue
in interface OptionsList.OptionHandler
toString
public String toString()
- Overrides:
toString
in class Object