public class TransformTag extends TagSupport
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.id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
TransformTag() |
| Modifier and Type | Method and Description |
|---|---|
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. |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspExceptionpublic void setQuery(String newQuery)
query, which is the name of a
query declared using the <query> tag.public String getQuery()
public void setXsltURI(String newXsltURI)
xsltURI, which is the URI of an
XSL style-sheet to transform query output.public String getXsltURI()
public void setXsltCache(boolean newXsltCache)
xsltCache, which determines
whether to cache the parsed representation of an XSL style-sheet.public boolean isXsltCache()