org.apache.taglibs.xtags.xpath
Class CopyTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.xtags.xpath.AbstractTag
org.apache.taglibs.xtags.xpath.CopyTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CopyTag
- extends AbstractTag
A tag which performs a copy operation like the XSLT tag - a shallow copy
- Author:
- James Strachan
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doEndTag()
|
int |
doStartTag()
|
protected org.dom4j.Node |
getNode()
Returns the node selected for this tag |
protected org.dom4j.Node |
getNode(java.lang.Object input)
|
void |
release()
|
void |
setSelect(java.lang.String select)
Setter for property select. |
Methods inherited from class org.apache.taglibs.xtags.xpath.AbstractTag |
createXPath, createXPathFilter, flush, getDocumentFactory, getInputNodes, getInputNodes, getStylesheet, handleException, matches, setContext, setInputNodes |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyTag
public CopyTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class AbstractTag
setSelect
public void setSelect(java.lang.String select)
- Setter for property select.
- Parameters:
select
- New value of property select.
getNode
protected org.dom4j.Node getNode()
- Returns the node selected for this tag
getNode
protected org.dom4j.Node getNode(java.lang.Object input)
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.