Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » language » markup » xsp » [javadoc | source]
org.apache.cocoon.components.language.markup.xsp
public class: XSPMarkupLanguage [javadoc | source]
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:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.excalibur.pool.Recyclable, MarkupLanguage, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable

This class implements MarkupLanguage for Cocoon's XSP.
Nested Class Summary:
protected class  XSPMarkupLanguage.PreProcessFilter  {@link CocoonMarkupLanguage.PreProcessFilter PreProcessFilter} that replaces XSP expressions. 
Fields inherited from org.apache.cocoon.components.language.markup.AbstractMarkupLanguage:
ATTR_INTERPOLATION,  TEXT_INTERPOLATION,  name,  languages,  logicsheetCache,  manager
Method from org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage Summary:
getLogicsheetFilter,   getPreprocessFilter,   getRootElement
Methods from org.apache.cocoon.components.language.markup.CocoonMarkupLanguage:
addDependency,   addLogicsheetToList,   getPreprocessFilter,   getRootElement,   getTransformerChainBuilder,   recycle
Methods from org.apache.cocoon.components.language.markup.AbstractMarkupLanguage:
addDependency,   addLogicsheetToList,   addLogicsheetsToGenerator,   configure,   dispose,   generateCode,   getEncoding,   getLogicsheetFilter,   getName,   getPrefix,   getPreprocessFilter,   getTransformerChainBuilder,   getURI,   hasAttrInterpolation,   hasTextInterpolation,   recycle,   service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage Detail:
 protected LogicsheetFilter getLogicsheetFilter() 
    Return the filter to preprocess logicsheets expanding {#expr} to xsp:attribute and xsp:expr elements.
 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.
 public String getRootElement() 
    Returns the root element for a valid XSP page: page element!