com.ricebridge.data.sc
Class CharacterStringConverter

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

public class CharacterStringConverter
extends TypeStringConverter

Handle char textual representations.


Field Summary
protected static Character sStandardDefault
          Default value object.
 
Fields inherited from class com.ricebridge.data.sc.TypeStringConverter
iDefault
 
Constructor Summary
CharacterStringConverter()
          Create a converter with standard default sStandardDefault.
CharacterStringConverter(char pDefault)
          Create a converter with specific native default.
CharacterStringConverter(Character pDefault)
          Create a converter with specific wrapper object 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 Character sStandardDefault
Default value object.

Constructor Detail

CharacterStringConverter

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


CharacterStringConverter

public CharacterStringConverter(char pDefault)
Create a converter with specific native default.

Parameters:
pDefault - default native value

CharacterStringConverter

public CharacterStringConverter(Character 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