|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.DefaultStringToObjectConverter
public class DefaultStringToObjectConverter
An implementation of IStringToObjectConverter
that simply
maps a String to the same value. Because this class has no state, it
is implemented as a singleton.
Field Summary | |
---|---|
static DefaultStringToObjectConverter |
instance
The singleton instance of this class. |
Constructor Summary | |
---|---|
protected |
DefaultStringToObjectConverter()
The sole constructor is protected because this class is a singleton. |
Method Summary | |
---|---|
java.lang.Object |
toObject(java.lang.String s)
Return the argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DefaultStringToObjectConverter instance
Constructor Detail |
---|
protected DefaultStringToObjectConverter()
Method Detail |
---|
public java.lang.Object toObject(java.lang.String s)
toObject
in interface IStringToObjectConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |