|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.AbstractObjectToStringConverter
public abstract class AbstractObjectToStringConverter
An abstract implementation of IStringToObjectConverter
that
also implements IObjectMapper
by calling the
toString()
method.
Constructor Summary | |
---|---|
AbstractObjectToStringConverter()
|
Method Summary | |
---|---|
java.lang.Object |
map(java.lang.Object obj)
Implement IObjectMapper by returning the result of
toString(obj) . |
abstract java.lang.String |
toString(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractObjectToStringConverter()
Method Detail |
---|
public abstract java.lang.String toString(java.lang.Object obj)
toString
in interface IObjectToStringConverter
public java.lang.Object map(java.lang.Object obj)
IObjectMapper
by returning the result of
toString(obj)
.
map
in interface IObjectMapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |