Package mondrian.web.taglib
Class TransformTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
mondrian.web.taglib.TransformTag
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class TransformTag
extends javax.servlet.jsp.tagext.TagSupport
A
TransformTag
renders the result of a ResultCache
object. Example:Attributes areThe current slicer is <transform query="query1" xsltURI="/WEB-INF/mdxslicer.xsl" xsltCache="true"/> <br/> <transform query="query1" xsltURI="/WEB-INF/mdxtable.xsl" xsltCache="false"/>
query
,
xsltURI
,
xsltCache
.- Author:
- Andreas Voss, 22 March, 2002
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
getQuery()
boolean
void
Sets the string attributequery
, which is the name of a query declared using the<query>
tag.void
setXsltCache
(boolean newXsltCache) Sets the boolean attributexsltCache
, which determines whether to cache the parsed representation of an XSL style-sheet.void
setXsltURI
(String newXsltURI) Sets the string attributexsltURI
, which is the URI of an XSL style-sheet to transform query output.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
TransformTag
public TransformTag()
-
-
Method Details
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
setQuery
Sets the string attributequery
, which is the name of a query declared using the<query>
tag. -
getQuery
-
setXsltURI
Sets the string attributexsltURI
, which is the URI of an XSL style-sheet to transform query output. -
getXsltURI
-
setXsltCache
public void setXsltCache(boolean newXsltCache) Sets the boolean attributexsltCache
, which determines whether to cache the parsed representation of an XSL style-sheet. -
isXsltCache
public boolean isXsltCache()
-