Description Usage Arguments Details Value Author(s) References See Also
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.
This is not used currently. The Java objects are returned directly and the user-level converters determine whether the object is ‘convertible’.
1 | setJavaConvertible(klass, ok=TRUE, 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
|
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.
These constants are defined in the Java interface
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.