org.apache.cocoon.components.language.markup.xsp
Class XSPMarkupLanguage
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage
org.apache.cocoon.components.language.markup.CocoonMarkupLanguage
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, Configurable, LogEnabled, Serviceable, MarkupLanguage
public class XSPMarkupLanguage
- extends CocoonMarkupLanguage
This class implements MarkupLanguage
for Cocoon's
XSP.
- Version:
- $Id: XSPMarkupLanguage.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Ricardo Rocha, Sebastien Sahuc, Vadim Gritsenko
Fields inherited from interface org.apache.cocoon.components.language.markup.MarkupLanguage |
ROLE |
Methods inherited from class org.apache.cocoon.components.language.markup.AbstractMarkupLanguage |
addLogicsheetsToGenerator, configure, dispose, generateCode, getEncoding, getName, getPrefix, getURI, hasAttrInterpolation, hasTextInterpolation, service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSPMarkupLanguage
public XSPMarkupLanguage()
getRootElement
public String getRootElement()
- Returns the root element for a valid XSP page: page element!
- Specified by:
getRootElement
in class CocoonMarkupLanguage
getLogicsheetFilter
protected LogicsheetFilter getLogicsheetFilter()
- Return the filter to preprocess logicsheets expanding {#expr} to
xsp:attribute and xsp:expr elements.
- Overrides:
getLogicsheetFilter
in class AbstractMarkupLanguage
getPreprocessFilter
protected AbstractXMLPipe getPreprocessFilter(String filename,
AbstractXMLPipe filter,
ProgrammingLanguage language)
- Prepare the input source for logicsheet processing and code generation
with a preprocess filter.
The return
XMLFilter
object is the first filter on the
transformer chain.
- Overrides:
getPreprocessFilter
in class CocoonMarkupLanguage
- Parameters:
filename
- The source filenamelanguage
- The target programming language
- Returns:
- The preprocess filter
- See Also:
XSPMarkupLanguage.PreProcessFilter
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.