public abstract class PolymorphicTypeMap extends TreeMap<Class<?>,Class<?>[]>
Properties
resource which will be
automatically loaded on instantiation.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
PolymorphicTypeMap()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
BeanDeserializerModifier |
getBeanDeserializerModifier()
Method to get a
BeanDeserializerModifier for this
PolymorphicTypeMap . |
protected void |
initialize(Object object,
ObjectCodec codec,
JsonNode node)
Callback from
JsonDeserializer implementation to allow
subclass implementations to initialize the resulting bean with the
parse-tree (JsonNode ). |
Class<?>[] |
put(Class<?> key,
Class<?>[] value) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
protected PolymorphicTypeMap()
public BeanDeserializerModifier getBeanDeserializerModifier()
BeanDeserializerModifier
for this
PolymorphicTypeMap
.BeanDeserializerModifier
.protected void initialize(Object object, ObjectCodec codec, JsonNode node) throws IOException
JsonDeserializer
implementation to allow
subclass implementations to initialize the resulting bean with the
parse-tree (JsonNode
).object
- The Object
to initialize.codec
- The ObjectCodec
.node
- The JsonNode
.IOException
- If there is a problem initializing the
JSONBean
.Copyright © 2015–2020 Allen D. Ball. All rights reserved.