net.jbeans.data.converter
Class WrapperToPrimitiveFloatConverter
java.lang.Object
  
net.jbeans.data.converter.DataConverter
      
net.jbeans.data.converter.WrapperToPrimitiveFloatConverter
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public final class WrapperToPrimitiveFloatConverter
- extends DataConverter
  
generally describe WrapperToPrimitiveFloatConverter in here
- Version:
 
  - $Revision: 1.1.1.1 $
 
- Author:
 
  - Masahiro Takatsuka (masa@jbeans.net)
 
- See Also:
 DataConverter, 
Serialized Form
 
 
 
| 
Method Summary | 
 float | 
convert(java.lang.Boolean obj,
        java.lang.String className)
 
            | 
 float | 
convert(java.lang.Number obj,
        java.lang.String className)
 
            | 
protected  java.lang.Object | 
convert(java.lang.Object obj,
        java.lang.Class class1)
 
          Converts the specified object "obj" into an object of a class "class1". | 
protected  void | 
setDataTypes()
 
          Initializes acceptable soruce and target types. | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
WrapperToPrimitiveFloatConverter
public WrapperToPrimitiveFloatConverter()
setDataTypes
protected void setDataTypes()
- Initializes acceptable soruce and target types.
- Specified by:
 setDataTypes in class DataConverter
 
 
 
convert
protected java.lang.Object convert(java.lang.Object obj,
                                   java.lang.Class class1)
                            throws InvalidDataTypeException,
                                   UnsupportedTypeException
- Converts the specified object "obj" into an object of a class "class1".
- Specified by:
 convert in class DataConverter
 
- Throws:
 InvalidDataTypeException
UnsupportedTypeException
 
 
convert
public final float convert(java.lang.Number obj,
                           java.lang.String className)
                    throws InvalidDataTypeException,
                           UnsupportedTypeException
- Throws:
 InvalidDataTypeException
UnsupportedTypeException
 
convert
public final float convert(java.lang.Boolean obj,
                           java.lang.String className)
                    throws InvalidDataTypeException,
                           UnsupportedTypeException
- Throws:
 InvalidDataTypeException
UnsupportedTypeException
 
Copyright © 2003 JBean project. All Rights Reserved.