File: jobjRef-class.Rd

package info (click to toggle)
rjava 1.0-14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,188 kB
  • sloc: java: 13,223; ansic: 5,503; sh: 3,776; xml: 325; makefile: 250; perl: 33
file content (24 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\name{jobjRef-class}
\docType{class}
\alias{jobjRef-class}

\title{Class "jobjRef" - Reference to a Java object }
\description{ This class describes a reference to an object held in a JavaVM. }
\section{Objects from the Class}{
Objects of this class should *not* be created directly. Instead, the function \code{\link{.jnew}} should be use to create new Java objects. They can also be created as results of the \code{\link{.jcall}} function.
}
\section{Slots}{
  \describe{
    \item{\code{jobj}:}{Internal identifier of the object (external pointer to be precise)}
    \item{\code{jclass}:}{Java class name of the object (in JNI notation)}
  }
  Java-side attributes are not accessed via slots, but the \code{$} operator instead.
}
\section{Methods}{
This object's Java methods are not accessed directly. Instead, \code{\link{.jcall}} JNI-API should be used for invoking Java methods. For convenience the \code{$} operator can be used to call methods via reflection API.
}
\author{ Simon Urbanek }
\seealso{
  \code{\link{.jnew}}, \code{\link{.jcall}}  or \code{\link{jarrayRef-class}}
}
\keyword{classes}