public final class XMLGregorianCalendarConverter extends Object implements SimpleTypeConverter
XMLGregorianCalendar
objects.
It is thread-safe.
Modifier and Type | Method and Description |
---|---|
static XMLGregorianCalendarConverter |
create()
Constructs a
XMLGregorianCalendarConverter . |
XMLGregorianCalendar |
fromString(String value)
Converts the given
String object into an object with the simple data type this converter is
intended for. |
String |
toString(Object value)
Converts the given value to a
String object. |
public static XMLGregorianCalendarConverter create()
XMLGregorianCalendarConverter
.public XMLGregorianCalendar fromString(String value)
String
object into an object with the simple data type this converter is
intended for.fromString
in interface SimpleTypeConverter
value
- the String
object to convertpublic String toString(Object value)
String
object.toString
in interface SimpleTypeConverter
value
- the value to convertCopyright © 2014. All rights reserved.