| setJavaConvertible {Java} | R Documentation |
When a value is to be returned from Java to R, the Omegahat evaluator examines a table to determine if an object of that type can be converted to R. This function manipulates that table and allows one to control for what types of objects conversion is attempted.
setJavaConvertible.java(klass, ok=T, matching=0)
klass |
The name of a Java class or interface which is to be added or removed from the set of known convertible classes. This can be a partially qualified class name that is resolved by the Omegahat evaluator. |
ok |
logical value indicating whether objects of
class klass are to be considered convertible or not
by the Omegahat sub-system. |
matching |
an integer value from the set 0, 1 and 2.
These values indicate how comparisons between the registerd
class and the object to be converted are performed.
isAssignableFrom method between two classes.ConvertibleClassifierInt.
|
Simply calls setJavaConvertible in the Omegahat evaluator which passes
the request on to the ConverterClassifierInt object
employed by that evaluator.
NULL corresponding to a call to a Java method
returning void.
Duncan Temple Lang
http://www.omegahat.org/RSJava
setJavaConverter
getJavaConverterDescriptions
getNumJavaConverters