Package org.powertac.common.xml
Class TariffSpecificationConverter
java.lang.Object
org.powertac.common.xml.TariffSpecificationConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher,com.thoughtworks.xstream.converters.SingleValueConverter
public class TariffSpecificationConverter extends Object implements com.thoughtworks.xstream.converters.SingleValueConverter
-
Constructor Summary
Constructors Constructor Description TariffSpecificationConverter() -
Method Summary
Modifier and Type Method Description booleancanConvert(Class type)ObjectfromString(String id)StringtoString(Object tariffSpec)
-
Constructor Details
-
TariffSpecificationConverter
public TariffSpecificationConverter()
-
-
Method Details
-
canConvert
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
fromString
- Specified by:
fromStringin interfacecom.thoughtworks.xstream.converters.SingleValueConverter
-
toString
- Specified by:
toStringin interfacecom.thoughtworks.xstream.converters.SingleValueConverter
-