Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.util.type » [javadoc | source]
org.apache.bsf.util.type
public interface: TypeConvertor [javadoc | source] A TypeConvertor is used to convert an object of one type to one of another type. The convertor is invoked with the class of the from object, the desired class, and the from object itself. The convertor must return a new object of the desired class.
Method from org.apache.bsf.util.type.TypeConvertor Summary:
convert,   getCodeGenString
Method from org.apache.bsf.util.type.TypeConvertor Detail:
 public Object convert(Class from,
    Class to,
    Object obj)
 public String getCodeGenString()