org.apache.taglibs.xtags.xpath
Class ParseTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.xtags.xpath.AbstractBodyTag
org.apache.taglibs.xtags.xpath.ParseTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class ParseTag
- extends AbstractBodyTag
A tag which parses its body as an XML Document and defines a variable
- Author:
- James Strachan
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
ParseTag
public ParseTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
release
public void release()
getId
public java.lang.String getId()
- Getter for property id.
- Returns:
- Value of property id.
setId
public void setId(java.lang.String id)
- Setter for property id.
- Parameters:
id
- New value of property id.
setURL
public void setURL(java.net.URL url)
setUrl
public void setUrl(java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
setUri
public void setUri(java.lang.String uri)
throws java.io.IOException
- Throws:
java.io.IOException
setReader
public void setReader(java.io.Reader reader)
getValidate
public boolean getValidate()
setValidate
public void setValidate(boolean validate)
getSAXReader
protected org.dom4j.io.SAXReader getSAXReader()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
defineVariable
protected void defineVariable(org.dom4j.Document document)
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.