Changeset 13858 for trunk/abcl/doc/manual/java.tex
- Timestamp:
- 02/06/12 11:21:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/doc/manual/java.tex
r13690 r13858 1 \subsection{Exported Symbols from the JAVA package}2 1 \paragraph{} 3 2 \label{JAVA:JAVA-EXCEPTION-CAUSE} … … 6 5 7 6 \begin{adjustwidth}{5em}{5em} 8 Returns the cause of JAVA-EXCEPTION. (The cause is the Java Throwable 9 object that caused JAVA-EXCEPTION to be signalled.) 7 not-documented 10 8 \end{adjustwidth} 11 9 … … 45 43 46 44 \begin{adjustwidth}{5em}{5em} 47 NOT-DOCUMENTED 45 not-documented 48 46 \end{adjustwidth} 49 47 … … 85 83 86 84 \paragraph{} 85 \label{JAVA:JINSTANCE-OF-P} 86 \index{JINSTANCE-OF-P} 87 --- Function: \textbf{jinstance-of-p} [\textbf{java}] \textit{obj class} 88 89 \begin{adjustwidth}{5em}{5em} 90 OBJ is an instance of CLASS (or one of its subclasses) 91 \end{adjustwidth} 92 93 \paragraph{} 94 \label{JAVA:JSTATIC-RAW} 95 \index{JSTATIC-RAW} 96 --- Function: \textbf{jstatic-raw} [\textbf{java}] \textit{method class \&rest args} 97 98 \begin{adjustwidth}{5em}{5em} 99 Invokes the static method METHOD on class CLASS with ARGS. Does not attempt to coerce the arguments or result into a Lisp object. 100 \end{adjustwidth} 101 102 \paragraph{} 103 \label{JAVA:DEFINE-JAVA-CLASS} 104 \index{DEFINE-JAVA-CLASS} 105 --- Macro: \textbf{define-java-class} [\textbf{java}] \textit{} 106 107 \begin{adjustwidth}{5em}{5em} 108 not-documented 109 \end{adjustwidth} 110 111 \paragraph{} 112 \label{JAVA:JCLASS-OF} 113 \index{JCLASS-OF} 114 --- Function: \textbf{jclass-of} [\textbf{java}] \textit{object \&optional name} 115 116 \begin{adjustwidth}{5em}{5em} 117 not-documented 118 \end{adjustwidth} 119 120 \paragraph{} 87 121 \label{JAVA:JRUN-EXCEPTION-PROTECTED} 88 122 \index{JRUN-EXCEPTION-PROTECTED} … … 94 128 95 129 \paragraph{} 96 \label{JAVA:JINSTANCE-OF-P}97 \index{JINSTANCE-OF-P}98 --- Function: \textbf{jinstance-of-p} [\textbf{java}] \textit{obj class}99 100 \begin{adjustwidth}{5em}{5em}101 OBJ is an instance of CLASS (or one of its subclasses)102 \end{adjustwidth}103 104 \paragraph{}105 130 \label{JAVA:JMETHOD-NAME} 106 131 \index{JMETHOD-NAME} … … 112 137 113 138 \paragraph{} 114 \label{JAVA:JSTATIC-RAW}115 \index{JSTATIC-RAW}116 --- Function: \textbf{jstatic-raw} [\textbf{java}] \textit{method class \&rest args}117 118 \begin{adjustwidth}{5em}{5em}119 Invokes the static method METHOD on class CLASS with ARGS. Does not attempt to coerce the arguments or result into a Lisp object.120 \end{adjustwidth}121 122 \paragraph{}123 \label{JAVA:JCLASS-OF}124 \index{JCLASS-OF}125 --- Function: \textbf{jclass-of} [\textbf{java}] \textit{object \&optional name}126 127 \begin{adjustwidth}{5em}{5em}128 Returns the name of the Java class of OBJECT. If the NAME argument is129 supplied, verifies that OBJECT is an instance of the named class. The name130 of the class or nil is always returned as a second value.131 \end{adjustwidth}132 133 \paragraph{}134 139 \label{JAVA:GET-CURRENT-CLASSLOADER} 135 140 \index{GET-CURRENT-CLASSLOADER} … … 137 142 138 143 \begin{adjustwidth}{5em}{5em} 139 NOT-DOCUMENTED 140 \end{adjustwidth} 141 144 not-documented 145 \end{adjustwidth} 146 147 \paragraph{} 148 \label{JAVA:JGET-PROPERTY-VALUE} 149 \index{JGET-PROPERTY-VALUE} 150 --- Function: \textbf{\%jget-property-value} [\textbf{java}] \textit{java-object property-name} 151 152 \begin{adjustwidth}{5em}{5em} 153 Gets a JavaBeans property on JAVA-OBJECT. 154 SYSTEM-INTERNAL: Use jproperty-value instead. 155 \end{adjustwidth} 142 156 143 157 \paragraph{} … … 147 161 148 162 \begin{adjustwidth}{5em}{5em} 149 NOT-DOCUMENTED 163 not-documented 150 164 \end{adjustwidth} 151 165 … … 165 179 166 180 \begin{adjustwidth}{5em}{5em} 167 NOT-DOCUMENTED 181 not-documented 168 182 \end{adjustwidth} 169 183 … … 201 215 202 216 \begin{adjustwidth}{5em}{5em} 203 NOT-DOCUMENTED 217 not-documented 218 \end{adjustwidth} 219 220 \paragraph{} 221 \label{JAVA:JSET-PROPERTY-VALUE} 222 \index{JSET-PROPERTY-VALUE} 223 --- Function: \textbf{\%jset-property-value} [\textbf{java}] \textit{java-object property-name value} 224 225 \begin{adjustwidth}{5em}{5em} 226 Sets a JavaBean property on JAVA-OBJECT. 227 SYSTEM-INTERNAL: Use (setf jproperty-value) instead. 204 228 \end{adjustwidth} 205 229 … … 216 240 \label{JAVA:JNEW-RUNTIME-CLASS} 217 241 \index{JNEW-RUNTIME-CLASS} 218 --- Function: \textbf{jnew-runtime-class} [\textbf{java}] \textit{} 219 220 \begin{adjustwidth}{5em}{5em} 221 NOT-DOCUMENTED 242 --- Function: \textbf{jnew-runtime-class} [\textbf{java}] \textit{class-name \&rest args \&key (superclass java.lang.Object) interfaces constructors methods fields (access-flags (quote (public))) annotations} 243 244 \begin{adjustwidth}{5em}{5em} 245 Creates and loads a Java class with methods calling Lisp closures 246 as given in METHODS. CLASS-NAME and SUPER-NAME are strings, 247 INTERFACES is a list of strings, CONSTRUCTORS, METHODS and FIELDS are 248 lists of constructor, method and field definitions. 249 250 Constructor definitions - currently NOT supported - are lists of the form 251 (argument-types function \&optional super-invocation-arguments) 252 where argument-types is a list of strings and function is a lisp function of 253 (1+ (length argument-types)) arguments; the instance (`this') is passed in as 254 the last argument. The optional super-invocation-arguments is a list of numbers 255 between 1 and (length argument-types), where the number k stands for the kth argument 256 to the just defined constructor. If present, the constructor of the superclass 257 will be called with the appropriate arguments. E.g., if the constructor definition is 258 (("java.lang.String" "int") \#'(lambda (string i this) ...) (2 1)) 259 then the constructor of the superclass with argument types (int, java.lang.String) will 260 be called with the second and first arguments. 261 262 Method definitions are lists of the form 263 (method-name return-type argument-types function \&key modifiers annotations) 264 where method-name is a string, return-type and argument-types are strings or keywords for 265 primitive types (:void, :int, etc.), and function is a Lisp function of minimum arity 266 (1+ (length argument-types)); the instance (`this') is passed in as the first argument. 267 268 Field definitions are lists of the form (field-name type \&key modifiers annotations). 222 269 \end{adjustwidth} 223 270 … … 250 297 251 298 \paragraph{} 299 \label{JAVA:JNEW} 300 \index{JNEW} 301 --- Function: \textbf{jnew} [\textbf{java}] \textit{constructor \&rest args} 302 303 \begin{adjustwidth}{5em}{5em} 304 Invokes the Java constructor CONSTRUCTOR with the arguments ARGS. 305 \end{adjustwidth} 306 307 \paragraph{} 252 308 \label{JAVA:JREGISTER-HANDLER} 253 309 \index{JREGISTER-HANDLER} … … 255 311 256 312 \begin{adjustwidth}{5em}{5em} 257 NOT-DOCUMENTED 313 not-documented 258 314 \end{adjustwidth} 259 315 … … 277 333 278 334 \paragraph{} 335 \label{JAVA:JARRAY-COMPONENT-TYPE} 336 \index{JARRAY-COMPONENT-TYPE} 337 --- Function: \textbf{jarray-component-type} [\textbf{java}] \textit{atype} 338 339 \begin{adjustwidth}{5em}{5em} 340 Returns the component type of the array type ATYPE 341 \end{adjustwidth} 342 343 \paragraph{} 344 \label{JAVA:ADD-TO-CLASSPATH} 345 \index{ADD-TO-CLASSPATH} 346 --- Generic Function: \textbf{add-to-classpath} [\textbf{java}] \textit{} 347 348 \begin{adjustwidth}{5em}{5em} 349 not-documented 350 \end{adjustwidth} 351 352 \paragraph{} 279 353 \label{JAVA:UNREGISTER-JAVA-EXCEPTION} 280 354 \index{UNREGISTER-JAVA-EXCEPTION} … … 286 360 287 361 \paragraph{} 288 \label{JAVA:JNEW}289 \index{JNEW}290 --- Function: \textbf{jnew} [\textbf{java}] \textit{constructor \&rest args}291 292 \begin{adjustwidth}{5em}{5em}293 Invokes the Java constructor CONSTRUCTOR with the arguments ARGS.294 \end{adjustwidth}295 296 \paragraph{}297 \label{JAVA:JRUNTIME-CLASS-EXISTS-P}298 \index{JRUNTIME-CLASS-EXISTS-P}299 --- Function: \textbf{jruntime-class-exists-p} [\textbf{java}] \textit{}300 301 \begin{adjustwidth}{5em}{5em}302 NOT-DOCUMENTED303 \end{adjustwidth}304 305 \paragraph{}306 \label{JAVA:JARRAY-COMPONENT-TYPE}307 \index{JARRAY-COMPONENT-TYPE}308 --- Function: \textbf{jarray-component-type} [\textbf{java}] \textit{atype}309 310 \begin{adjustwidth}{5em}{5em}311 Returns the component type of the array type ATYPE312 \end{adjustwidth}313 314 \paragraph{}315 \label{JAVA:ADD-TO-CLASSPATH}316 \index{ADD-TO-CLASSPATH}317 --- Generic Function: \textbf{add-to-classpath} [\textbf{java}] \textit{}318 319 \begin{adjustwidth}{5em}{5em}320 NOT-DOCUMENTED321 \end{adjustwidth}322 323 \paragraph{}324 362 \label{JAVA:JOBJECT-LISP-VALUE} 325 363 \index{JOBJECT-LISP-VALUE} … … 336 374 337 375 \begin{adjustwidth}{5em}{5em} 338 When called with one argument, returns the name of the Java class 339 designated by CLASS-REF. When called with two arguments, tests 340 whether CLASS-REF matches NAME. 376 not-documented 341 377 \end{adjustwidth} 342 378 … … 365 401 366 402 \begin{adjustwidth}{5em}{5em} 367 NOT-DOCUMENTED 403 not-documented 368 404 \end{adjustwidth} 369 405 … … 374 410 375 411 \begin{adjustwidth}{5em}{5em} 376 NOT-DOCUMENTED 412 not-documented 377 413 \end{adjustwidth} 378 414 … … 383 419 384 420 \begin{adjustwidth}{5em}{5em} 385 NOT-DOCUMENTED 421 not-documented 386 422 \end{adjustwidth} 387 423 … … 448 484 449 485 \begin{adjustwidth}{5em}{5em} 450 NOT-DOCUMENTED 486 not-documented 451 487 \end{adjustwidth} 452 488 … … 485 521 derived from the instance. 486 522 523 487 524 \end{adjustwidth} 488 525 … … 493 530 494 531 \begin{adjustwidth}{5em}{5em} 495 NOT-DOCUMENTED 532 not-documented 496 533 \end{adjustwidth} 497 534 … … 520 557 521 558 \begin{adjustwidth}{5em}{5em} 522 NOT-DOCUMENTED 559 not-documented 523 560 \end{adjustwidth} 524 561 … … 538 575 539 576 \begin{adjustwidth}{5em}{5em} 540 NOT-DOCUMENTED 577 not-documented 541 578 \end{adjustwidth} 542 579 … … 587 624 588 625 \paragraph{} 589 \label{JAVA:JREDEFINE-METHOD}590 \index{JREDEFINE-METHOD}591 --- Function: \textbf{jredefine-method} [\textbf{java}] \textit{}592 593 \begin{adjustwidth}{5em}{5em}594 NOT-DOCUMENTED595 \end{adjustwidth}596 597 \paragraph{}598 626 \label{JAVA:JCLASS-FIELDS} 599 627 \index{JCLASS-FIELDS} … … 610 638 611 639 \begin{adjustwidth}{5em}{5em} 612 NOT-DOCUMENTED 640 not-documented 613 641 \end{adjustwidth} 614 642 … … 619 647 620 648 \begin{adjustwidth}{5em}{5em} 621 NOT-DOCUMENTED 649 not-documented 622 650 \end{adjustwidth} 623 651 … … 657 685 derived from the instance. 658 686 687 659 688 \end{adjustwidth} 660 689 … … 710 739 711 740 \begin{adjustwidth}{5em}{5em} 712 NOT-DOCUMENTED 741 not-documented 713 742 \end{adjustwidth} 714 743 … … 737 766 738 767 \begin{adjustwidth}{5em}{5em} 739 NOT-DOCUMENTED 768 not-documented 740 769 \end{adjustwidth} 741 770
Note: See TracChangeset
for help on using the changeset viewer.