| org.apache.cocoon.portal.transformation.AbstractCopletTransformer org.apache.cocoon.portal.transformation.CopletTransformer
CopletTransformer | public class CopletTransformer extends AbstractCopletTransformer (Code) | | This transformer offers various functions for developing pipeline based coplets.
Includes coplet instance data by using JXPath expressions.
The transformer searches for tags <coplet:coplet xmlns:coplet="http://apache.org/cocoon/portal/coplet/1.0">.
They must have an attribute "select" that contains a valid JXPath expression applying to the coplet instance data.
Example:
<maxpageable xmlns:coplet="http://apache.org/cocoon/portal/coplet/1.0">
<coplet:coplet select="copletData.maxpageable"/>
</maxpageable>
The transformer will insert the boolean value specifying whether the coplet is
maxpageable or not.
Please see also the documentation of superclass AbstractCopletTransformer for how
the coplet instance data are acquired.
author: Carsten Ziegeler author: Björn Lütkemeier version: CVS $Id: CopletTransformer.java 433543 2006-08-22 06:22:54Z crossley $ |
CONTENT_ELEM | final public static String CONTENT_ELEM(Code) | | The content for the links element
|
COPLET_ELEM | final public static String COPLET_ELEM(Code) | | The XML element name to listen for.
|
LINKS_ELEM | final public static String LINKS_ELEM(Code) | | Create a link containing several events
|
LINK_ELEM | final public static String LINK_ELEM(Code) | | The XML element name to listen for.
|
NAMESPACE_URI | final public static String NAMESPACE_URI(Code) | | The namespace URI to listen for.
|
PARAMETER_ELEM | final public static String PARAMETER_ELEM(Code) | | Create a link containing several events
|
SELECT_ATTR | final public static String SELECT_ATTR(Code) | | The attribute containing the JXPath expression.
|
collectedEvents | protected List collectedEvents(Code) | | The collected list of events
|
content | protected XMLizable content(Code) | | The content of the links
|
insideLinks | protected boolean insideLinks(Code) | | Are we inside a links element?
|
CopletTransformer | public CopletTransformer()(Code) | | Creates new CopletTransformer.
|
|
|