com.ricebridge.data.sc
Class ByteStringConverter

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

public class ByteStringConverter
extends TypeStringConverter

Handle byte textual representations.


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

Constructor Detail

ByteStringConverter

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


ByteStringConverter

public ByteStringConverter(byte pDefault)
Create a converter with specific native default.

Parameters:
pDefault - default native value

ByteStringConverter

public ByteStringConverter(Byte 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