mondrian.web.taglib
Class TransformTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by mondrian.web.taglib.TransformTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class TransformTag
extends TagSupport

A TransformTag renders the result of a ResultCache object. Example:

The current slicer is
 <transform query="query1"
    xsltURI="/WEB-INF/mdxslicer.xsl"
    xsltCache="true"/>
 <br/>
 <transform query="query1"
    xsltURI="/WEB-INF/mdxtable.xsl"
    xsltCache="false"/>
Attributes are query, xsltURI, xsltCache.

See Also:
Serialized Form
 

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
TransformTag()
           
 
Method Summary
 int doEndTag()
           
 String getQuery()
           
 String getXsltURI()
           
 boolean isXsltCache()
           
 void setQuery(String newQuery)
          Sets the string attribute query, which is the name of a query declared using the <query> tag.
 void setXsltCache(boolean newXsltCache)
          Sets the boolean attribute xsltCache, which determines whether to cache the parsed representation of an XSL style-sheet.
 void setXsltURI(String newXsltURI)
          Sets the string attribute xsltURI, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformTag

public TransformTag()
Method Detail

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Throws:
JspException

setQuery

public void setQuery(String newQuery)
Sets the string attribute query, 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 attribute xsltURI, 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 attribute xsltCache, which determines whether to cache the parsed representation of an XSL style-sheet.


isXsltCache

public boolean isXsltCache()

SourceForge.net_Logo