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.TagSupportATransformTagrenders the result of aResultCacheobject. 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransformTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()StringgetQuery()StringgetXsltURI()booleanisXsltCache()voidsetQuery(String newQuery)Sets the string attributequery, which is the name of a query declared using the<query>tag.voidsetXsltCache(boolean newXsltCache)Sets the boolean attributexsltCache, which determines whether to cache the parsed representation of an XSL style-sheet.voidsetXsltURI(String newXsltURI)Sets the string attributexsltURI, which is the URI of an XSL style-sheet to transform query output.
-
-
-
Method Detail
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
setQuery
public void setQuery(String newQuery)
Sets the string attributequery, which is the name of a query declared using the<query>tag.
-
getQuery
public String getQuery()
-
setXsltURI
public void setXsltURI(String newXsltURI)
Sets the string attributexsltURI, which is the URI of an XSL style-sheet to transform query output.
-
getXsltURI
public String 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()
-
-