MetaTF API

MetaTF.Generator.Java
Class CodeGenerator

java.lang.Object
  |
  +--MetaTF.Generator.Java.CodeGenerator

public class CodeGenerator
extends java.lang.Object

CodeGenerator. Generate Java reader and writer

Version:
rel-1-2 ($Revision: 1.2 $, $Date: 2000/12/15 16:29:11 $),
Author:
Richard Jones
See Also:
The MetaTF Grammar

Constructor Summary
CodeGenerator(java.lang.String dtdFile, java.lang.String className)
          Allocate a new object representing the code generator (should this extend / implement something?)
 
Method Summary
 java.lang.Object generate(DTD symtab, java.lang.Object data)
          Generate the code.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGenerator

public CodeGenerator(java.lang.String dtdFile,
                     java.lang.String className)
Allocate a new object representing the code generator (should this extend / implement something?)
Parameters:
dtdFile - the name of the DTD
classname - the name of the class file to be generated
Method Detail

generate

public java.lang.Object generate(DTD symtab,
                                 java.lang.Object data)
Generate the code.
Parameters:
symtab - the symbol table
data - not used

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF