org.apache.commons.jelly.tags.jsl
Class ApplyTemplatesTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.jsl.ApplyTemplatesTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ApplyTemplatesTag
extends org.apache.commons.jelly.TagSupport

Implements the apply templates function in the stylesheet, similar to the XSLT equivalent. a JSP include.

Version:
$Revision: 1.8 $
Author:
James Strachan

Field Summary
private  org.apache.commons.logging.Log log
          The Log to which logging calls will be made.
private  java.lang.String mode
          Holds value of property mode.
private  org.jaxen.XPath select
          Holds the XPath object
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ApplyTemplatesTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          By default just evaluate the body
 void setMode(java.lang.String mode)
          Sets the mode.
 void setSelect(org.jaxen.XPath select)
           
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, 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
 

Field Detail

log

private org.apache.commons.logging.Log log
The Log to which logging calls will be made.


mode

private java.lang.String mode
Holds value of property mode.


select

private org.jaxen.XPath select
Holds the XPath object

Constructor Detail

ApplyTemplatesTag

public ApplyTemplatesTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
By default just evaluate the body

Throws:
org.apache.commons.jelly.JellyTagException

setSelect

public void setSelect(org.jaxen.XPath select)

setMode

public void setMode(java.lang.String mode)
Sets the mode.

Parameters:
mode - New value of property mode.