org.freehep.aid
Class AbstractGenerator

java.lang.Object
  extended by org.freehep.aid.AbstractGenerator
All Implemented Interfaces:
org.freehep.rtti.Generator
Direct Known Subclasses:
AbstractCPPGenerator, AbstractJavaGenerator, CPPPackageHeaderGenerator, PythonClassGenerator

public abstract class AbstractGenerator
extends Object
implements org.freehep.rtti.Generator

Version:
$Id: AbstractGenerator.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

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

Field Detail

properties

protected org.freehep.util.UserProperties properties
Constructor Detail

AbstractGenerator

public AbstractGenerator()
Method Detail

getProperties

public Properties getProperties()
Specified by:
getProperties in interface org.freehep.rtti.Generator

warning

protected void warning(org.freehep.util.io.IndentPrintWriter out)

directory

public String directory(org.freehep.rtti.IClass clazz)
Specified by:
directory in interface org.freehep.rtti.Generator

filename

public abstract String filename(org.freehep.rtti.IClass clazz)
Specified by:
filename in interface org.freehep.rtti.Generator

print

public abstract boolean print(File file,
                              org.freehep.rtti.IClass clazz)
                       throws IOException
Specified by:
print in interface org.freehep.rtti.Generator
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.