org.powertac.common.xml
Class CustomerConverter

java.lang.Object
  extended by org.powertac.common.xml.CustomerConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class CustomerConverter
extends Object
implements com.thoughtworks.xstream.converters.SingleValueConverter


Constructor Summary
CustomerConverter()
           
 
Method Summary
 boolean canConvert(Class type)
           
 Object fromString(String id)
           
 String toString(Object customer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerConverter

public CustomerConverter()
Method Detail

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher

fromString

public Object fromString(String id)
Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter

toString

public String toString(Object customer)
Specified by:
toString in interface com.thoughtworks.xstream.converters.SingleValueConverter


Copyright © 2013. All Rights Reserved.