public static class DateAndTimeConverters.LongToXmlGregorianCalendarConverter extends BidirectionalConverter<C,D>
destinationType, mapperFacade, sourceType| Constructor and Description |
|---|
LongToXmlGregorianCalendarConverter() |
| 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. |
Long |
convertFrom(XMLGregorianCalendar source,
Type<Long> destinationType,
MappingContext context) |
XMLGregorianCalendar |
convertTo(Long source,
Type<XMLGregorianCalendar> 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 XMLGregorianCalendar convertTo(Long source, Type<XMLGregorianCalendar> destinationType, MappingContext context)
convertTo in class BidirectionalConverter<Long,XMLGregorianCalendar>public Long convertFrom(XMLGregorianCalendar source, Type<Long> destinationType, MappingContext context)
convertFrom in class BidirectionalConverter<Long,XMLGregorianCalendar>public boolean canConvert(Type<?> sourceType, Type<?> destinationType)
ConvertersourceType to destinationType.canConvert in interface Converter<Object,Object>canConvert in class BidirectionalConverter<Long,XMLGregorianCalendar>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 © 2019 Glasnost. All rights reserved.