org.apache.commons.jelly.tags.xml
Class ExprTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.xpath.XPathTagSupport
          extended byorg.apache.commons.jelly.tags.xml.ExprTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ExprTag
extends org.apache.commons.jelly.xpath.XPathTagSupport

A tag which performs a string XPath expression; similar to <xsl:value-of> in XSLT

Version:
$Revision: 1.3 $
Author:
James Strachan

Field Summary
private  org.jaxen.XPath select
          The XPath expression to evaluate.
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ExprTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 void setSelect(org.jaxen.XPath select)
          Sets the XPath expression to evaluate.
 
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, 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

select

private org.jaxen.XPath select
The XPath expression to evaluate.

Constructor Detail

ExprTag

public ExprTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

setSelect

public void setSelect(org.jaxen.XPath select)
Sets the XPath expression to evaluate.