|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.eval.converters.ToObjectConverter
public class ToObjectConverter
An identity converter that is used when we semantically need a converter but the converter does not have to do anything.
| Constructor Summary | |
|---|---|
ToObjectConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
fromObject(java.lang.Object obj,
TerpContext ctx)
Converts the given object into an object of the target type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToObjectConverter()
| Method Detail |
|---|
public java.lang.Object fromObject(java.lang.Object obj,
TerpContext ctx)
Converter
fromObject in interface Converter<java.lang.Object>obj - the source object.ctx - the context in which the conversion takes place.
|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||