- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.concurrent.ConcurrentHashMap<AdapterKey,Adapter<?,?>>
- 
- org.apache.johnzon.mapper.map.LazyConverterMap
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.util.concurrent.ConcurrentMap<AdapterKey,Adapter<?,?>>,- java.util.Map<AdapterKey,Adapter<?,?>>
 
 public class LazyConverterMap extends java.util.concurrent.ConcurrentHashMap<AdapterKey,Adapter<?,?>> - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMapjava.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private java.time.format.DateTimeFormatterdateTimeFormatterprivate static Adapter<?,?>NO_ADAPTERprivate booleanuseBigDecimalStringAdapterprivate booleanuseBigIntegerStringAdapterprivate booleanuseShortISO8601Format
 - 
Constructor SummaryConstructors Constructor Description LazyConverterMap()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<AdapterKey>adapterKeys()private Adapter<?,?>add(AdapterKey key, Adapter<?,?> converter)private Adapter<?,?>addCalendarConverter(AdapterKey key)private Adapter<?,?>addDateConverter(AdapterKey key)private Adapter<?,?>addGregorianCalendar(AdapterKey key)private Adapter<?,?>addInstantConverter(AdapterKey key)private Adapter<?,?>addLocalDateConverter(AdapterKey key)private Adapter<?,?>addLocalDateTimeConverter(AdapterKey key)private Adapter<?,?>addOffsetDateTimeConverter(AdapterKey key)private Adapter<?,?>addZonedDateTimeConverter(AdapterKey key)private static voidcheckForDeprecatedTimeZone(java.lang.String text)private Adapter<?,?>doLazyLookup(AdapterKey key)java.util.Set<java.util.Map.Entry<AdapterKey,Adapter<?,?>>>entrySet()private <T extends java.util.Calendar>
 TfromCalendar(java.lang.String text, java.util.function.Function<java.time.ZonedDateTime,T> calendarSupplier)Adapter<?,?>get(java.lang.Object key)private booleanhasTime(java.util.Calendar instance)private static java.time.ZonedDateTimeparseZonedDateTime(java.lang.String text, java.time.format.DateTimeFormatter formatter, java.time.ZoneId defaultZone)voidsetDateTimeFormatter(java.time.format.DateTimeFormatter dateTimeFormatter)voidsetUseBigDecimalStringAdapter(boolean useBigDecimalStringAdapter)voidsetUseBigIntegerStringAdapter(boolean useBigIntegerStringAdapter)voidsetUseShortISO8601Format(boolean useShortISO8601Format)private java.lang.StringtoStringCalendar(java.util.Calendar instance)- 
Methods inherited from class java.util.concurrent.ConcurrentHashMapclear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
 
- 
 
- 
- 
- 
Field Detail- 
NO_ADAPTERprivate static final Adapter<?,?> NO_ADAPTER 
 - 
useShortISO8601Formatprivate boolean useShortISO8601Format 
 - 
dateTimeFormatterprivate java.time.format.DateTimeFormatter dateTimeFormatter 
 - 
useBigIntegerStringAdapterprivate boolean useBigIntegerStringAdapter 
 - 
useBigDecimalStringAdapterprivate boolean useBigDecimalStringAdapter 
 
- 
 - 
Method Detail- 
setUseShortISO8601Formatpublic void setUseShortISO8601Format(boolean useShortISO8601Format) 
 - 
setDateTimeFormatterpublic void setDateTimeFormatter(java.time.format.DateTimeFormatter dateTimeFormatter) 
 - 
setUseBigDecimalStringAdapterpublic void setUseBigDecimalStringAdapter(boolean useBigDecimalStringAdapter) 
 - 
setUseBigIntegerStringAdapterpublic void setUseBigIntegerStringAdapter(boolean useBigIntegerStringAdapter) 
 - 
getpublic Adapter<?,?> get(java.lang.Object key) - Specified by:
- getin interface- java.util.Map<AdapterKey,Adapter<?,?>>
- Overrides:
- getin class- java.util.concurrent.ConcurrentHashMap<AdapterKey,Adapter<?,?>>
 
 - 
entrySetpublic java.util.Set<java.util.Map.Entry<AdapterKey,Adapter<?,?>>> entrySet() - Specified by:
- entrySetin interface- java.util.Map<AdapterKey,Adapter<?,?>>
- Overrides:
- entrySetin class- java.util.concurrent.ConcurrentHashMap<AdapterKey,Adapter<?,?>>
 
 - 
adapterKeyspublic java.util.Set<AdapterKey> adapterKeys() 
 - 
doLazyLookupprivate Adapter<?,?> doLazyLookup(AdapterKey key) 
 - 
addOffsetDateTimeConverterprivate Adapter<?,?> addOffsetDateTimeConverter(AdapterKey key) 
 - 
addZonedDateTimeConverterprivate Adapter<?,?> addZonedDateTimeConverter(AdapterKey key) 
 - 
addLocalDateTimeConverterprivate Adapter<?,?> addLocalDateTimeConverter(AdapterKey key) 
 - 
addLocalDateConverterprivate Adapter<?,?> addLocalDateConverter(AdapterKey key) 
 - 
addInstantConverterprivate Adapter<?,?> addInstantConverter(AdapterKey key) 
 - 
addGregorianCalendarprivate Adapter<?,?> addGregorianCalendar(AdapterKey key) 
 - 
addCalendarConverterprivate Adapter<?,?> addCalendarConverter(AdapterKey key) 
 - 
addDateConverterprivate Adapter<?,?> addDateConverter(AdapterKey key) 
 - 
parseZonedDateTimeprivate static java.time.ZonedDateTime parseZonedDateTime(java.lang.String text, java.time.format.DateTimeFormatter formatter, java.time.ZoneId defaultZone)
 - 
checkForDeprecatedTimeZoneprivate static void checkForDeprecatedTimeZone(java.lang.String text) 
 - 
toStringCalendarprivate java.lang.String toStringCalendar(java.util.Calendar instance) 
 - 
hasTimeprivate boolean hasTime(java.util.Calendar instance) 
 - 
fromCalendarprivate <T extends java.util.Calendar> T fromCalendar(java.lang.String text, java.util.function.Function<java.time.ZonedDateTime,T> calendarSupplier)
 - 
addprivate Adapter<?,?> add(AdapterKey key, Adapter<?,?> converter) 
 
- 
 
-