Class Overview
A Converter for the XML Schema datatype duration and the Java type
javax.xml.datatype.Duration Duration.
Summary
Public Methods |
boolean
|
canConvert(Class c)
Determines whether the converter can marshall a particular type.
|
Object
|
fromString(String s)
Unmarshals an Object from its single value representation.
|
Public Constructors
public
DurationConverter
()
Throws
DatatypeConfigurationException
| |
public
DurationConverter
(DatatypeFactory factory)
Public Methods
public
boolean
canConvert
(Class c)
Determines whether the converter can marshall a particular type.
Parameters
c
| the Class representing the object type to be converted
|
Unmarshals an Object from its single value representation.
Parameters
s
| the String with the single value of the Object |