public static class DateAndTimeConverters.XmlGregorianCalendarToTimeConverter extends BidirectionalConverter<C,D>
destinationType, mapperFacade, sourceType| Constructor and Description |
|---|
XmlGregorianCalendarToTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Type<?> sourceType,
Type<?> destinationType)
Answers whether this converter can be used to handle the conversion of
sourceType to destinationType. |
XMLGregorianCalendar |
convertFrom(Time source,
Type<XMLGregorianCalendar> destinationType,
MappingContext context) |
Time |
convertTo(XMLGregorianCalendar source,
Type<Time> destinationType,
MappingContext context) |
boolean |
equals(Object o) |
BidirectionalConverter<D,C> |
reverse() |
String |
toString() |
convertgetAType, getBType, hashCode, setMapperFacadeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetMapperFacadegetAType, getBTypepublic Time convertTo(XMLGregorianCalendar source, Type<Time> destinationType, MappingContext context)
convertTo in class BidirectionalConverter<XMLGregorianCalendar,Time>public XMLGregorianCalendar convertFrom(Time source, Type<XMLGregorianCalendar> destinationType, MappingContext context)
convertFrom in class BidirectionalConverter<XMLGregorianCalendar,Time>public boolean canConvert(Type<?> sourceType, Type<?> destinationType)
ConvertersourceType to destinationType.canConvert in interface Converter<Object,Object>canConvert in class BidirectionalConverter<XMLGregorianCalendar,Time>public BidirectionalConverter<D,C> reverse()
reverse in class BidirectionalConverter<C,D>public String toString()
toString in class BidirectionalConverter<C,D>public boolean equals(Object o)
equals in class CustomConverter<Object,Object>Copyright © 2017 Glasnost. All Rights Reserved.