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 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Ricardo Rocha, Vadim Gritsenko

Method Summary
 String generateCode(Source source, AbstractXMLPipe filter)
          Generate source code from the given markup source.
 

Method Detail

generateCode

public String generateCode(Source source,
                           AbstractXMLPipe filter)
                    throws Exception
Generate source code from the given markup source. Start and end specify SAX pre processing pipeline.

Parameters:
source - The source of the markup program
filter - Pre-processing SAX filter
Returns:
The generated source code
Throws:
Exception - If an error occurs during code generation


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.