cucumber.runtime.converters
Class ConverterWithEnumFormat<T extends Enum>

java.lang.Object
  extended by cucumber.runtime.converters.ConverterWithEnumFormat<T>
All Implemented Interfaces:
cucumber.deps.com.thoughtworks.xstream.converters.ConverterMatcher, cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter
Direct Known Subclasses:
EnumConverter

public class ConverterWithEnumFormat<T extends Enum>
extends Object


Method Summary
 boolean canConvert(Class type)
           
 T fromString(String string)
           
 List<Format> getFormats()
           
 String toString(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromString

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

getFormats

public List<Format> getFormats()
Returns:
A Format to parse the argument

toString

public String toString(Object obj)
Specified by:
toString 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.