public class AttributesConvertibleValues
extends java.lang.Object
implements io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
ConvertibleValues
implementation that uses Attributes
as
the backing data source.Constructor and Description |
---|
AttributesConvertibleValues(javax.naming.directory.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) |
java.util.Set<java.lang.String> |
names() |
java.util.Collection<java.lang.Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AttributesConvertibleValues(javax.naming.directory.Attributes attributes)
attributes
- The attributespublic java.util.Set<java.lang.String> names()
names
in interface io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
public <T> java.util.Optional<T> get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
get
in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>