org.scopemvc.util.convertor
Class DoubleStringConvertor

java.lang.Object
  |
  +--org.scopemvc.util.convertor.NullStringConvertor
        |
        +--org.scopemvc.util.convertor.NumberStringConvertor
              |
              +--org.scopemvc.util.convertor.DoubleStringConvertor
All Implemented Interfaces:
StringConvertor

public class DoubleStringConvertor
extends NumberStringConvertor

String convertor for type java.lang.Double.

Version:
$Revision: 1.3 $ $Date: 2002/09/05 15:41:47 $
Author:
Daniel Michalik
See Also:
NumberStringConvertor

Constructor Summary
DoubleStringConvertor()
           
 
Method Summary
 java.lang.Object stringAsValue(java.lang.String inString)
          Returns parsed number as object of type Double
 
Methods inherited from class org.scopemvc.util.convertor.NumberStringConvertor
getNumberFormat, setNumberFormat, valueAsString
 
Methods inherited from class org.scopemvc.util.convertor.NullStringConvertor
getNullAsString, isNull, setNullAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleStringConvertor

public DoubleStringConvertor()
Method Detail

stringAsValue

public java.lang.Object stringAsValue(java.lang.String inString)
                               throws java.lang.IllegalArgumentException
Returns parsed number as object of type Double

Specified by:
stringAsValue in interface StringConvertor
Overrides:
stringAsValue in class NumberStringConvertor
Parameters:
inString - TODO: Describe the Parameter
Returns:
TODO: Describe the Return Value
Throws:
java.lang.IllegalArgumentException - can't convert from String using current NumberFormat.
See Also:
DoubleStringConvertor, FloatStringConvertor, IntegerStringConvertor, LongStringConvertor


Copyright © 2000-2002 The Scope Team. All Rights Reserved.