org.powertac.common.xml
Class TimeslotConverter
java.lang.Object
org.powertac.common.xml.TimeslotConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter
public class TimeslotConverter
- extends Object
- implements com.thoughtworks.xstream.converters.SingleValueConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeslotConverter
public TimeslotConverter()
canConvert
public boolean canConvert(Class type)
- Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
fromString
public Object fromString(String serial)
- Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
toString
public String toString(Object timeslot)
- Specified by:
toString in interface com.thoughtworks.xstream.converters.SingleValueConverter
Copyright © 2011. All Rights Reserved.