FreeHEP API
Version v1.1

org.freehep.aid
Class AbstractGenerator

java.lang.Object
  |
  +--org.freehep.aid.AbstractGenerator
All Implemented Interfaces:
Generator
Direct Known Subclasses:
AbstractCPPGenerator, AbstractJavaGenerator

public abstract class AbstractGenerator
extends Object
implements Generator

Version:
$Id: AbstractGenerator.java,v 1.6 2002/10/07 18:16:11 duns Exp $
Author:
Mark Donszelmann

Field Summary
protected  PrintWriter out
           
protected  Properties properties
           
 
Constructor Summary
AbstractGenerator()
           
 
Method Summary
 String directory(IClass clazz)
           
abstract  String filename(IClass clazz)
           
 Properties getProperties()
           
abstract  boolean print(PrintWriter out, IClass clazz)
           
protected  void warning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected PrintWriter out

properties

protected Properties properties
Constructor Detail

AbstractGenerator

public AbstractGenerator()
Method Detail

getProperties

public Properties getProperties()
Specified by:
getProperties in interface Generator

warning

protected void warning()

directory

public String directory(IClass clazz)
Specified by:
directory in interface Generator

filename

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

print

public abstract boolean print(PrintWriter out,
                              IClass clazz)
Specified by:
print in interface Generator
Returns:
true to stop generating more file

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.