org.apache.commons.jelly.tags.jsl
Class TemplateTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.apache.commons.jelly.tags.jsl.TemplateTag
- All Implemented Interfaces:
- Tag
- public class TemplateTag
- extends TagSupport
This tag represents a declarative matching rule, similar to the template tag in XSLT.
- Version:
- $Revision: 1.8 $
- Author:
- James Strachan
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateTag
public TemplateTag()
doTag
public void doTag(XMLOutput output)
throws java.lang.Exception
- Description copied from interface:
Tag
- Evaluates this tag after all the tags properties have been initialized.
getXPathSource
public java.lang.Object getXPathSource()
- Returns:
- the current XPath iteration value
so that any other XPath aware child tags to use
setMatch
public void setMatch(org.dom4j.rule.Pattern match)
getPriority
public double getPriority()
- Getter for property priority.
- Returns:
- Value of property priority.
setPriority
public void setPriority(double priority)
- Sets the priority.
- Parameters:
priority
- New value of property priority.
getName
public java.lang.String getName()
- Getter for property name.
- Returns:
- Value of property name.
setName
public void setName(java.lang.String name)
- Sets the name.
- Parameters:
name
- New value of property name.
setMode
public void setMode(java.lang.String mode)
- Sets the mode.
- Parameters:
mode
- New value of property mode.
createRule
protected org.dom4j.rule.Rule createRule(StylesheetTag tag,
XMLOutput output)
createAction
protected org.dom4j.rule.Action createAction(StylesheetTag tag,
XMLOutput output)
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.