Class DurationConverter

java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
com.thoughtworks.xstream.converters.extended.DurationConverter
All Implemented Interfaces:
ConverterMatcher, SingleValueConverter

public class DurationConverter extends AbstractSingleValueConverter
A Converter for the XML Schema datatype duration and the Java type Duration. The implementation uses a DatatypeFactory to create Duration objects. If no factory is provided and the instantiation of the internal factory fails with a DatatypeConfigurationException, the converter will not claim the responsibility for Duration objects.
Since:
1.3