org.apache.cocoon.components.language.markup
Class LogicsheetCodeGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator
- All Implemented Interfaces:
- LogEnabled, MarkupCodeGenerator
public class LogicsheetCodeGenerator
- extends AbstractLogEnabled
- implements MarkupCodeGenerator
A logicsheet-based implementation of MarkupCodeGenerator
- Version:
- CVS $Id: LogicsheetCodeGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Ricardo Rocha, Davanum Srinivas, Vadim Gritsenko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogicsheetCodeGenerator
public LogicsheetCodeGenerator()
initialize
public void initialize()
- Initialize the LogicsheetCodeGenerator.
addLogicsheet
public void addLogicsheet(Logicsheet logicsheet)
throws ProcessingException
- Add a logicsheet to the logicsheet list
- Parameters:
logicsheet
- The logicsheet to be added
- Throws:
ProcessingException
generateCode
public String generateCode(Source source,
AbstractXMLPipe filter)
throws Exception
- Generate source code from the given source. Filename information is
ignored in the logicsheet-based code generation approach.
- Specified by:
generateCode
in interface MarkupCodeGenerator
- Parameters:
source
- The source of the markupfilter
- 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.