ch.javasoft.jbase.marshal
Class PrimitiveMarshallers

java.lang.Object
  extended by ch.javasoft.jbase.marshal.PrimitiveMarshallers

public class PrimitiveMarshallers
extends Object

This class contains constant FixedWidthMarshaller instances for all Java primitive data types. Note that one row (entity) corresponds to a single primitive value. Alternatively, PrimitiveArrayMarshallers contains marshallers for arrays of primitive types.

The constants of this class can be used as marshallers with a FixedWidthTable.


Field Summary
static FixedWidthMarshaller<Boolean> BOOLEAN
           
static FixedWidthMarshaller<Byte> BYTE
           
static FixedWidthMarshaller<Character> CHARACTER
           
static FixedWidthMarshaller<Double> DOUBLE
           
static FixedWidthMarshaller<Float> FLOAT
           
static FixedWidthMarshaller<Integer> INTEGER
           
static FixedWidthMarshaller<Long> LONG
           
static FixedWidthMarshaller<Short> SHORT
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTE

public static final FixedWidthMarshaller<Byte> BYTE

SHORT

public static final FixedWidthMarshaller<Short> SHORT

INTEGER

public static final FixedWidthMarshaller<Integer> INTEGER

LONG

public static final FixedWidthMarshaller<Long> LONG

FLOAT

public static final FixedWidthMarshaller<Float> FLOAT

DOUBLE

public static final FixedWidthMarshaller<Double> DOUBLE

BOOLEAN

public static final FixedWidthMarshaller<Boolean> BOOLEAN

CHARACTER

public static final FixedWidthMarshaller<Character> CHARACTER