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

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

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

A tag which performs a copy-of operation like the XSLT tag

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
CopyOfTag()
           
 
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

CopyOfTag

public CopyOfTag()
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.