public class ClientJava
extends java.lang.Object
ClientJava
writes the Java native code descriptions that
will point to the JNI C code written by ClientJNI
. The class
constructor takes a language writer and method generateCode
writes the Java client code for the specified symbol to the output stream.
The language writer output stream is not closed by this object.Constructor and Description |
---|
ClientJava(LanguageWriterForJava writer,
Context context)
Create a
ClientJava object that will write symbol
information to the provided output language writer stream. |
Modifier and Type | Method and Description |
---|---|
void |
generateCode(Symbol symbol)
Write Java client information for the provided symbol to the language
writer output stream provided in the class constructor.
|
static void |
generateCode(Symbol symbol,
LanguageWriterForJava writer,
Context context)
This is a convenience utility function that writes the Java client
information into the provided language writer output stream.
|
public ClientJava(LanguageWriterForJava writer, Context context)
ClientJava
object that will write symbol
information to the provided output language writer stream.public static void generateCode(Symbol symbol, LanguageWriterForJava writer, Context context) throws CodeGenerationException
CodeGenerationException
public void generateCode(Symbol symbol) throws CodeGenerationException
CodeGenerationException