org.apache.jute.compiler
Class JRecord

java.lang.Object
  extended by org.apache.jute.compiler.JType
      extended by org.apache.jute.compiler.JRecord

public class JRecord
extends JType


Constructor Summary
JRecord(String name, ArrayList<JField> flist)
          Creates a new instance of JRecord
 
Method Summary
 void genCCode(FileWriter h, FileWriter c)
           
 void genCppCode(FileWriter hh, FileWriter cc)
           
 String genCppDecl(String fname)
           
 void genJavaCode(File outputDirectory)
           
 String genJavaReadMethod(String fname, String tag)
           
 String genJavaReadWrapper(String fname, String tag, boolean decl)
           
 String genJavaWriteWrapper(String fname, String tag)
           
 String getCppFQName()
           
 String getCppNameSpace()
           
 ArrayList<JField> getFields()
           
 String getJavaFQName()
           
 String getJavaPackage()
           
 String getName()
           
 String getSignature()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRecord

public JRecord(String name,
               ArrayList<JField> flist)
Creates a new instance of JRecord

Method Detail

getName

public String getName()

getJavaFQName

public String getJavaFQName()

getCppFQName

public String getCppFQName()

getJavaPackage

public String getJavaPackage()

getCppNameSpace

public String getCppNameSpace()

getFields

public ArrayList<JField> getFields()

getSignature

public String getSignature()

genCppDecl

public String genCppDecl(String fname)

genJavaReadMethod

public String genJavaReadMethod(String fname,
                                String tag)

genJavaReadWrapper

public String genJavaReadWrapper(String fname,
                                 String tag,
                                 boolean decl)

genJavaWriteWrapper

public String genJavaWriteWrapper(String fname,
                                  String tag)

genCCode

public void genCCode(FileWriter h,
                     FileWriter c)
              throws IOException
Throws:
IOException

genCppCode

public void genCppCode(FileWriter hh,
                       FileWriter cc)
                throws IOException
Throws:
IOException

genJavaCode

public void genJavaCode(File outputDirectory)
                 throws IOException
Throws:
IOException