com.moesol.generator.printer
Class JniTypePrinter
java.lang.Object
com.moesol.generator.printer.TypePrinter
com.moesol.generator.printer.JniTypePrinter
- Direct Known Subclasses:
- CniBeginNamespaceTypePrinter, CniFwdTypePrinter, CniNameTypePrinter, CniTypePrinter
public class JniTypePrinter
- extends TypePrinter
Print types out in a manner suitable for interfacing with JNI,
including return types and parameters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JniTypePrinter
protected JniTypePrinter()
getInstance
public static JniTypePrinter getInstance()
print
public void print(Class type,
Writer out)
throws IOException
- Specified by:
print
in class TypePrinter
- Throws:
IOException
primitiveCxxType
protected void primitiveCxxType(Writer out,
Class type)
throws IOException
- Throws:
IOException
arrayCxxType
protected void arrayCxxType(Writer out,
Class type)
throws IOException
- Throws:
IOException
objectCxxType
protected void objectCxxType(Writer out,
Class type)
throws IOException
- Throws:
IOException
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.