org.freehep.aid
Class AbstractGenerator
java.lang.Object
org.freehep.aid.AbstractGenerator
- All Implemented Interfaces:
- Generator
- Direct Known Subclasses:
- AbstractCPPGenerator, AbstractJavaGenerator, CPPPackageHeaderGenerator, PythonClassGenerator
- public abstract class AbstractGenerator
- extends Object
- implements Generator
- Version:
- $Id: AbstractGenerator.java,v 1.10 2005/04/26 18:17:46 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- AbstractGenerator.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected UserProperties properties
AbstractGenerator
public AbstractGenerator()
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface Generator
warning
protected void warning(IndentPrintWriter out)
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(File file,
IClass clazz)
throws IOException
- Specified by:
print
in interface Generator
- Returns:
- true to stop generating more files
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.