cucumber.runtime.converters
Class ClassWithStringConstructorConverter

java.lang.Object
  extended by cucumber.runtime.converters.ClassWithStringConstructorConverter
All Implemented Interfaces:
cucumber.deps.com.thoughtworks.xstream.converters.ConverterMatcher, cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter

public class ClassWithStringConstructorConverter
extends Object
implements cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter


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

Constructor Detail

ClassWithStringConstructorConverter

public ClassWithStringConstructorConverter()
Method Detail

toString

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

fromString

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

canConvert

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


Copyright © 2012. All Rights Reserved.