org.freehep.aid
Class JNICodeGenerator
java.lang.Object
org.freehep.aid.AbstractGenerator
org.freehep.aid.AbstractCPPGenerator
org.freehep.aid.JNICodeGenerator
- All Implemented Interfaces:
- Generator
- public class JNICodeGenerator
- extends AbstractCPPGenerator
- Version:
- $Id: JNICodeGenerator.java,v 1.18 2005/04/26 18:17:48 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- JNICodeGenerator.java
Method Summary |
String |
filename(IClass clazz)
|
protected void |
includeStatements(IndentPrintWriter out,
IClass clazz,
SortedSet sysIncludes,
SortedSet includes,
String namespace,
SortedSet types)
|
protected String |
prefix()
|
boolean |
print(File file,
IClass clazz)
|
protected void |
printDestructor(IndentPrintWriter out,
IClass clazz)
|
protected void |
printDummyBody(IndentPrintWriter out,
IClass clazz,
IMethod method)
|
protected void |
printJNIConstructor(IndentPrintWriter out,
IClass clazz)
|
protected void |
printMethod(IndentPrintWriter out,
IClass clazz,
IMethod method)
|
protected void |
printMethodBody(IndentPrintWriter out,
IClass clazz,
IMethod method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indent
public static final String indent
- See Also:
- Constant Field Values
cr
public static final String cr
- See Also:
- Constant Field Values
jniProperties
protected UserProperties jniProperties
importProperties
protected UserProperties importProperties
converter
protected JNITypeConverter converter
JNICodeGenerator
public JNICodeGenerator(String propDir)
prefix
protected String prefix()
- Specified by:
prefix
in class AbstractCPPGenerator
filename
public String filename(IClass clazz)
- Specified by:
filename
in interface Generator
- Specified by:
filename
in class AbstractGenerator
print
public boolean print(File file,
IClass clazz)
throws IOException
- Specified by:
print
in interface Generator
- Specified by:
print
in class AbstractGenerator
- Throws:
IOException
includeStatements
protected void includeStatements(IndentPrintWriter out,
IClass clazz,
SortedSet sysIncludes,
SortedSet includes,
String namespace,
SortedSet types)
printJNIConstructor
protected void printJNIConstructor(IndentPrintWriter out,
IClass clazz)
printDestructor
protected void printDestructor(IndentPrintWriter out,
IClass clazz)
printMethod
protected void printMethod(IndentPrintWriter out,
IClass clazz,
IMethod method)
printDummyBody
protected void printDummyBody(IndentPrintWriter out,
IClass clazz,
IMethod method)
printMethodBody
protected void printMethodBody(IndentPrintWriter out,
IClass clazz,
IMethod method)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.