com.moesol.generator.printer
Class JniTypePrinter

java.lang.Object
  extended by com.moesol.generator.printer.TypePrinter
      extended by 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.


Constructor Summary
protected JniTypePrinter()
           
 
Method Summary
protected  void arrayCxxType(Writer out, Class type)
           
static JniTypePrinter getInstance()
           
protected  void objectCxxType(Writer out, Class type)
           
protected  void primitiveCxxType(Writer out, Class type)
           
 void print(Class type, Writer out)
           
 
Methods inherited from class com.moesol.generator.printer.TypePrinter
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JniTypePrinter

protected JniTypePrinter()
Method Detail

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.