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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ricardo Rocha, Vadim Gritsenko

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

Method Detail

generateCode

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-2010 The Apache Software Foundation. All Rights Reserved.