|
Carrot2 v3.3.0
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.attribute.AttributeBinder.AttributeTransformerFromString
public static class AttributeBinder.AttributeTransformerFromString
Transforms String attribute values to the types required by the target
field by:
String typed values unchanged.valueOf(String) in the target type and using
it for conversion.
| Field Summary | |
|---|---|
static AttributeBinder.AttributeTransformerFromString |
INSTANCE
Shared instance of the transformer. |
| Method Summary | |
|---|---|
Object |
transform(Object value,
String key,
Field field,
Class<? extends Annotation> bindingDirectionAnnotation)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AttributeBinder.AttributeTransformerFromString INSTANCE
| Method Detail |
|---|
public Object transform(Object value,
String key,
Field field,
Class<? extends Annotation> bindingDirectionAnnotation)
transform in interface AttributeBinder.IAttributeTransformer
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||