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
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 programfilter - 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.