cucumber.runtime.converters
Class DoubleConverter

java.lang.Object
  extended by cucumber.runtime.converters.ConverterWithFormat<T>
      extended by cucumber.runtime.converters.ConverterWithNumberFormat<java.lang.Double>
          extended by cucumber.runtime.converters.DoubleConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class DoubleConverter
extends ConverterWithNumberFormat<java.lang.Double>


Constructor Summary
DoubleConverter(java.util.Locale locale)
           
 
Method Summary
protected  java.lang.Double downcast(java.lang.Number argument)
           
 
Methods inherited from class cucumber.runtime.converters.ConverterWithNumberFormat
fromString, getFormats
 
Methods inherited from class cucumber.runtime.converters.ConverterWithFormat
canConvert, toString, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleConverter

public DoubleConverter(java.util.Locale locale)
Method Detail

downcast

protected java.lang.Double downcast(java.lang.Number argument)
Specified by:
downcast in class ConverterWithNumberFormat<java.lang.Double>