com.ricebridge.data.sc
Class DoubleStringConverter

java.lang.Object
  extended bycom.ricebridge.data.sc.StringConverterSupport
      extended bycom.ricebridge.data.sc.TypeStringConverter
          extended bycom.ricebridge.data.sc.DoubleStringConverter
All Implemented Interfaces:
StringConverter

public class DoubleStringConverter
extends TypeStringConverter

Handle double textual representations.


Field Summary
protected static Double sStandardDefault
          Default value object.
 
Fields inherited from class com.ricebridge.data.sc.TypeStringConverter
iDefault
 
Constructor Summary
DoubleStringConverter()
          Create a converter with standard default sStandardDefault.
DoubleStringConverter(Double pDefault)
          Create a converter with specific wrapper object default.
DoubleStringConverter(short pDefault)
          Create a converter with specific native default.
 
Method Summary
protected  String getTypeName()
          Name of Java native type.
protected  Object makeTypeObjectImpl(String pValue, boolean pUseDefault)
          Type specific subclasses handle parsing.
 
Methods inherited from class com.ricebridge.data.sc.TypeStringConverter
makeDefaultObjectImpl, makeDefaultStringImpl, makeObjectImpl, makeStringImpl, makeTypeStringImpl, setDefault
 
Methods inherited from class com.ricebridge.data.sc.StringConverterSupport
makeDefaultObject, makeDefaultString, makeObject, makeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sStandardDefault

protected static Double sStandardDefault
Default value object.

Constructor Detail

DoubleStringConverter

public DoubleStringConverter()
Create a converter with standard default sStandardDefault.


DoubleStringConverter

public DoubleStringConverter(short pDefault)
Create a converter with specific native default.

Parameters:
pDefault - default native value

DoubleStringConverter

public DoubleStringConverter(Double pDefault)
Create a converter with specific wrapper object default.

Parameters:
pDefault - default wrapper object value
Method Detail

getTypeName

protected String getTypeName()
Description copied from class: TypeStringConverter
Name of Java native type.

Specified by:
getTypeName in class TypeStringConverter

makeTypeObjectImpl

protected Object makeTypeObjectImpl(String pValue,
                                    boolean pUseDefault)
                             throws Exception
Description copied from class: TypeStringConverter
Type specific subclasses handle parsing.

Specified by:
makeTypeObjectImpl in class TypeStringConverter
Throws:
Exception


Copyright © 2003-2006 Ricebridge