FreeHEP API
Version current

org.freehep.aid
Class JavaInterfaceGenerator

java.lang.Object
  extended byorg.freehep.aid.AbstractGenerator
      extended byorg.freehep.aid.AbstractJavaGenerator
          extended byorg.freehep.aid.JavaInterfaceGenerator
All Implemented Interfaces:
Generator

public class JavaInterfaceGenerator
extends AbstractJavaGenerator

Version:
$Id: JavaInterfaceGenerator.java,v 1.17 2005/06/07 17:26:58 duns Exp $
Author:
Mark Donszelmann
Source Code:
JavaInterfaceGenerator.java

Field Summary
 
Fields inherited from class org.freehep.aid.AbstractJavaGenerator
importProperties, language, primitiveProperties, templateProperties, typeProperties, valueProperties
 
Fields inherited from class org.freehep.aid.AbstractGenerator
properties
 
Constructor Summary
JavaInterfaceGenerator(String propDir)
           
 
Method Summary
 String filename(IClass clazz)
           
protected  void printClassHeader(IndentPrintWriter out, IClass clazz)
           
protected  void printEOCComments(IndentPrintWriter out, IClass clazz)
           
protected  void printEOFComments(IndentPrintWriter out, IClass clazz)
           
protected  void printEOPComments(IndentPrintWriter out, IClass clazz)
           
protected  void printField(IndentPrintWriter pw, IField field, boolean innerClass)
           
protected  void printMethodComments(IndentPrintWriter out, IMethod method, int noOfParameters)
           
 
Methods inherited from class org.freehep.aid.AbstractJavaGenerator
directory, getConcrete, getTemplateMap, importFrom, importFrom, isClass, namedType, print, printImportStatements, printMethod, printMethod, printMethodBody, printMethodHeader, type
 
Methods inherited from class org.freehep.aid.AbstractGenerator
getProperties, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaInterfaceGenerator

public JavaInterfaceGenerator(String propDir)
Method Detail

filename

public String filename(IClass clazz)
Specified by:
filename in interface Generator
Specified by:
filename in class AbstractJavaGenerator

printClassHeader

protected void printClassHeader(IndentPrintWriter out,
                                IClass clazz)
Specified by:
printClassHeader in class AbstractJavaGenerator

printEOCComments

protected void printEOCComments(IndentPrintWriter out,
                                IClass clazz)
Overrides:
printEOCComments in class AbstractJavaGenerator

printEOPComments

protected void printEOPComments(IndentPrintWriter out,
                                IClass clazz)
Overrides:
printEOPComments in class AbstractJavaGenerator

printEOFComments

protected void printEOFComments(IndentPrintWriter out,
                                IClass clazz)
Overrides:
printEOFComments in class AbstractJavaGenerator

printMethodComments

protected void printMethodComments(IndentPrintWriter out,
                                   IMethod method,
                                   int noOfParameters)
Overrides:
printMethodComments in class AbstractJavaGenerator

printField

protected void printField(IndentPrintWriter pw,
                          IField field,
                          boolean innerClass)
Overrides:
printField in class AbstractJavaGenerator

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.