public abstract class AbstractAttributeConverter<T> extends Object implements AttributeConverter<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttributeConverter(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
Boolean |
accept(String typeName) |
T |
convert(Object attribute)
Convert an attribute to a specific type T.
|
protected T |
defaultValue() |
protected T |
internalConvert(Object attribute) |
public T convert(Object attribute)
AttributeConverter
convert
in interface AttributeConverter<T>
attribute
- attributeprotected T defaultValue()
Copyright © 2018. All rights reserved.