V
- The generic type for valuespublic class ObjectNodeConvertibleValues<V> extends java.lang.Object implements ConvertibleValues<V>
ObjectNode
to make it a ConvertibleValues
.EMPTY
Constructor and Description |
---|
ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
ConversionService<?> conversionService) |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
ArgumentConversionContext<T> conversionContext)
Resolve the given property for the given name.
|
java.util.Set<java.lang.String> |
names() |
java.util.Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asMap, asMap, asProperties, contains, empty, forEach, getValue, getValueType, isEmpty, iterator, of, subMap, subMap, subMap
get, get, get
public ObjectNodeConvertibleValues(com.fasterxml.jackson.databind.node.ObjectNode objectNode, ConversionService<?> conversionService)
objectNode
- The node that maps to JSON object structureconversionService
- To convert the JSON node into given typepublic java.util.Set<java.lang.String> names()
names
in interface ConvertibleValues<V>
public java.util.Collection<V> values()
values
in interface ConvertibleValues<V>
public <T> java.util.Optional<T> get(java.lang.CharSequence name, ArgumentConversionContext<T> conversionContext)
ValueResolver
get
in interface ValueResolver<java.lang.CharSequence>
T
- The concrete typename
- The nameconversionContext
- The conversion context