|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.objectify.impl.conv.StringConverter
public class StringConverter
Knows how to convert Strings
Constructor Summary | |
---|---|
StringConverter()
|
Method Summary | |
---|---|
java.lang.Object |
forDatastore(java.lang.Object value,
ConverterSaveContext ctx)
Convert the value into an object suitable for storage in the datastore. |
java.lang.Object |
forPojo(java.lang.Object value,
java.lang.Class<?> fieldType,
ConverterLoadContext ctx,
java.lang.Object onPojo)
Convert the value into an object suitable for setting on a field with the specified type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringConverter()
Method Detail |
---|
public java.lang.Object forDatastore(java.lang.Object value, ConverterSaveContext ctx)
Converter
forDatastore
in interface Converter
value
- will never be null
public java.lang.Object forPojo(java.lang.Object value, java.lang.Class<?> fieldType, ConverterLoadContext ctx, java.lang.Object onPojo)
Converter
forPojo
in interface Converter
value
- will never be nullfieldType
- is the type that the value should be converted toonPojo
- is the actual pojo object that this value will eventually be set upon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |