Class CreateContext
- java.lang.Object
-
- com.googlecode.objectify.impl.translate.CreateContext
-
public class CreateContext extends Object
The context while creating translator factories. Tracks important state as we navigate the class graph.- Author:
- Jeff Schnitzer
-
-
Constructor Summary
Constructors Constructor Description CreateContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P> Populator<P>
getPopulator(Class<P> clazz, Path path)
Get the populator for the specified class.<P,D>
Translator<P,D>getTranslator(TypeKey<P> tk, CreateContext ctx, Path path)
Get the relevant translator, creating it if necessary.
-
-
-
Method Detail
-
getTranslator
public <P,D> Translator<P,D> getTranslator(TypeKey<P> tk, CreateContext ctx, Path path)
Get the relevant translator, creating it if necessary.
-
-