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.14 2002/11/04 05:59:45 duns Exp $
- Author:
- Mark Donszelmann
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 Properties jniProperties
importProperties
protected Properties 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(PrintWriter out,
IClass clazz)
- Specified by:
print
in interface Generator
- Specified by:
print
in class AbstractGenerator
- Returns:
- true to stop generating more file
includeStatements
protected void includeStatements(IClass clazz,
SortedSet sysIncludes,
SortedSet includes,
String namespace,
SortedSet types)
- Overrides:
includeStatements
in class AbstractCPPGenerator
printJNIConstructor
protected void printJNIConstructor(IClass clazz)
printDestructor
protected void printDestructor(IClass clazz)
printMethod
protected void printMethod(IClass clazz,
IMethod method)
printDummyBody
protected void printDummyBody(IClass clazz,
IMethod method)
printMethodBody
protected void printMethodBody(IClass clazz,
IMethod method)
Copyright © 2000-2002 FreeHEP, All Rights Reserved.