|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.convert.imp.FloatConverter
Converter for Datatype java.lang.Float
Constructor Summary | |
FloatConverter()
|
Method Summary | |
java.lang.Object |
getAsObject(RequestContext ctx,
java.lang.String newValue)
Converts the given String value into the Converters Datatype |
java.lang.String |
getAsString(RequestContext ctx,
java.lang.Object value)
Converts the Object of the converters Datatype into it's String representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FloatConverter()
Method Detail |
public java.lang.Object getAsObject(RequestContext ctx, java.lang.String newValue) throws ConverterException
Converter
getAsObject
in interface Converter
ctx
- Request ContextnewValue
- The String Value to convert
ConverterException
- is thrown when a conversion error occursConverter.getAsObject(com.cc.framework.adapter.RequestContext, java.lang.String)
public java.lang.String getAsString(RequestContext ctx, java.lang.Object value) throws ConverterException
Converter
getAsString
in interface Converter
ctx
- Request Contextvalue
- The Object to convert
ConverterException
- is thrown when a conversion error occursConverter.getAsString(com.cc.framework.adapter.RequestContext, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |