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 $Revision: 1.1 $ $Date: 2002/01/03 12:31:09 $
- 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. |
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 readerinput
- The input sourcefilename
- 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.