omegahatReference: Creates a local object representing a Java reference

Description Usage Arguments Value Author(s) References See Also Examples

Description

On occassion, one can lose a reference to a Java object stored in the Omegahat databases. If one knows its identifier (i.e. Omegahat name) and whether it is an anonymous or named reference, one can recreate an R object that refers to this Java object and use this R object in subsequent calls to the Java interface.

Usage

1
omegahatReference(key, named=TRUE)

Arguments

key

the name used by Omegahat to store the Java object.

named

a logical value indicating whether this is a named (TRUE) or anonymous (FALSE) reference.

Value

An object of class either AnononymousOmegahatReference or NamedOmegahatReference. This has fields

key

The Omegahat name by which the Java object is known. This is the value of the argument key.

className

the class name of the Java object. This is always empty.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/RSJava

See Also

.Java .JavaConstructor

Examples

1
2

SJava documentation built on Oct. 5, 2016, 4:17 a.m.