|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.xpath.XPathTagSupport
org.apache.commons.jelly.tags.jsl.StylesheetTag
This tag implements a JSL stylesheet which is similar to an XSLT stylesheet but can use Jelly tags inside it
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
StylesheetTag()
|
|
| Method Summary | |
void |
addTemplate(org.dom4j.rule.Rule rule)
Adds a new template rule to this stylesheet |
protected org.dom4j.rule.Stylesheet |
createStylesheet(org.apache.commons.jelly.XMLOutput output)
Factory method to create a new stylesheet |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
java.lang.String |
getMode()
Getter for property mode. |
protected java.lang.Object |
getSource()
|
org.dom4j.rule.Stylesheet |
getStylesheet()
|
org.apache.commons.jelly.XMLOutput |
getStylesheetOutput()
|
java.lang.Object |
getXPathSource()
|
void |
setMode(java.lang.String mode)
Sets the mode. |
void |
setSelect(org.jaxen.XPath select)
Sets the XPath expression to evaluate. |
void |
setStylesheetOutput(org.apache.commons.jelly.XMLOutput output)
Sets the XMLOutput to use by the current stylesheet |
void |
setVar(java.lang.String var)
Sets the variable name to define for this expression |
| Methods inherited from class org.apache.commons.jelly.xpath.XPathTagSupport |
getXPathContext |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StylesheetTag()
| Method Detail |
public org.apache.commons.jelly.XMLOutput getStylesheetOutput()
public void setStylesheetOutput(org.apache.commons.jelly.XMLOutput output)
public void addTemplate(org.dom4j.rule.Rule rule)
public java.lang.Object getXPathSource()
getXPathSource in interface org.apache.commons.jelly.xpath.XPathSource
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
doTag in interface org.apache.commons.jelly.Tagorg.apache.commons.jelly.JellyTagExceptionpublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode - New value of property mode.public org.dom4j.rule.Stylesheet getStylesheet()
public void setVar(java.lang.String var)
public void setSelect(org.jaxen.XPath select)
protected java.lang.Object getSource()
throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionprotected org.dom4j.rule.Stylesheet createStylesheet(org.apache.commons.jelly.XMLOutput output)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||