org.apache.cocoon.components.language.markup
Interface MarkupCodeGenerator

All Known Implementing Classes:
LogicsheetCodeGenerator

public interface MarkupCodeGenerator

This interfaces defines the functionality of a source code generator

Version:
CVS $Id: MarkupCodeGenerator.java,v 1.5 2002/02/22 07:00:08 cziegeler Exp $
Author:
Ricardo Rocha

Method Summary
 java.lang.String generateCode(org.xml.sax.XMLReader reader, org.xml.sax.InputSource input, java.lang.String filename)
          Generate source code from the input reader.
 

Method Detail

generateCode

public java.lang.String generateCode(org.xml.sax.XMLReader reader,
                                     org.xml.sax.InputSource input,
                                     java.lang.String filename)
                              throws java.lang.Exception
Generate source code from the input reader. Filename information may be needed by certain code-generation approaches and programming languages
Parameters:
reader - The input reader
input - The input source
filename - The input source original filename
Returns:
The generated source code
Throws:
java.lang.Exception - If an error occurs during code generation


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.