public interface AttributeConverterProvider
AttributeConverter to use for
converting a given TypeToken.| Modifier and Type | Method and Description |
|---|---|
<T> AttributeConverter<T> |
converterFor(TypeToken<T> typeToken)
Finds a
AttributeConverter for converting an object with a type
specified by a TypeToken to a AttributeValue and back. |
static AttributeConverterProvider |
defaultProvider()
Returns a default implementation of AttributeConverterProvider with all
standard Java type converters included.
|
<T> AttributeConverter<T> converterFor(TypeToken<T> typeToken)
AttributeConverter for converting an object with a type
specified by a TypeToken to a AttributeValue and back.typeToken - The type of the object to be convertedAttributeConverter for converting the given type.static AttributeConverterProvider defaultProvider()
Copyright © 2020. All rights reserved.