| Package | Description |
|---|---|
| org.osgl.util |
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecimalValueObjectCodec |
class |
BigIntegerValueObjectCodec |
class |
FastJsonObjectCodec |
class |
KeywordValueObjectCodec |
class |
KVCodec |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class,StringValueResolver> |
SimpleStringValueResolver.resolvers |
| Modifier and Type | Method and Description |
|---|---|
StringValueResolver<T> |
StringValueResolver.amended(AnnotationAware beanSpec)
Returns an amended copy of this resolver based on the
AnnotationAware
provided. |
StringValueResolver<T> |
StringValueResolver.attribute(String key,
Object value)
Set attribute of this resolver.
|
StringValueResolver<T> |
StringValueResolver.attributes(Map<String,Object> attributes)
Set attributes to this resolver
Note use this method only on new resolver instance instead of shared instance
|
StringValueResolver<T> |
StringValueResolver.clearAttributes()
Clear all attributes on this resolver
|
static <T> StringValueResolver<T> |
StringValueResolver.predefined(Class<T> type) |
static <T> StringValueResolver<T> |
StringValueResolver.wrap(Osgl.Function<String,T> func,
Class<T> targetType) |
| Modifier and Type | Method and Description |
|---|---|
static Map<Class,StringValueResolver> |
StringValueResolver.predefined() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
StringValueResolver.addPredefinedResolver(Class<T> type,
StringValueResolver<T> resolver) |
Copyright © 2017. All Rights Reserved.