|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.AbstractInterpolatingStringToObjectConverter
public abstract class AbstractInterpolatingStringToObjectConverter
An abstract implementation of
IInterpolatingStringToObjectConverter
which provides a
way for interpolating string to object converters to act like ordinary
string to object converters by specifying a resource bundle and an argument
map to use in the constructor.
Field Summary | |
---|---|
protected INoReturnMap |
_defArgMap
The argument map used to resolve references in the implementation of IStringToObjectConverter . |
protected java.util.ResourceBundle |
_defBundle
The resource bundle used to resolve references in the implementation of IStringToObjectConverter . |
Constructor Summary | |
---|---|
protected |
AbstractInterpolatingStringToObjectConverter()
Create a new instance whose implementation of IStringToObjectConverter is incapable of resolving
references. |
protected |
AbstractInterpolatingStringToObjectConverter(java.util.ResourceBundle bundle,
INoReturnMap argMap)
Create a new instance whose implementation of IStringToObjectConverter uses the specified resource
bundle and argument map to resolve references. |
Method Summary | |
---|---|
java.lang.Object |
toObject(java.lang.String s)
Implement IStringToObjectConverter by using the default
resource bundle and argument map specified by the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.taco.text.IInterpolatingStringToObjectConverter |
---|
toObject |
Field Detail |
---|
protected final java.util.ResourceBundle _defBundle
IStringToObjectConverter
.
protected final INoReturnMap _defArgMap
IStringToObjectConverter
.
Constructor Detail |
---|
protected AbstractInterpolatingStringToObjectConverter()
IStringToObjectConverter
is incapable of resolving
references.
protected AbstractInterpolatingStringToObjectConverter(java.util.ResourceBundle bundle, INoReturnMap argMap)
IStringToObjectConverter
uses the specified resource
bundle and argument map to resolve references.
Method Detail |
---|
public java.lang.Object toObject(java.lang.String s) throws java.text.ParseException
IStringToObjectConverter
by using the default
resource bundle and argument map specified by the constructor.
toObject
in interface IStringToObjectConverter
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |