public class DeferredObjectTranslator extends java.lang.Object implements org.apache.hivemind.schema.Translator
tapestry.DeferredObjectTranslator
, which is used to encapsulate the
ObjectTranslator and return DeferredObjectImpl
instances.
These allow the translator to not be executed until (and unless)
the value is needed,
with the added expense that you have to de-referrence the
DeferredObjectImpl
.Constructor and Description |
---|
DeferredObjectTranslator() |
Modifier and Type | Method and Description |
---|---|
void |
setObjectTranslator(org.apache.hivemind.schema.Translator objectTranslator) |
java.lang.Object |
translate(org.apache.hivemind.internal.Module module,
java.lang.Class propertyType,
java.lang.String inputValue,
org.apache.hivemind.Location location) |
public DeferredObjectTranslator()
public java.lang.Object translate(org.apache.hivemind.internal.Module module, java.lang.Class propertyType, java.lang.String inputValue, org.apache.hivemind.Location location)
translate
in interface org.apache.hivemind.schema.Translator
public void setObjectTranslator(org.apache.hivemind.schema.Translator objectTranslator)