com.caucho.jstl.el
Class XmlTransformTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.caucho.jstl.el.XmlTransformTag
All Implemented Interfaces:
NameValueTag, java.io.Serializable, BodyTag, IterationTag, JspTag, Tag

public class XmlTransformTag
extends BodyTagSupport
implements NameValueTag

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
 
Constructor Summary
XmlTransformTag()
           
 
Method Summary
 void addParam(java.lang.String name, java.lang.String value)
          Adds a parameter.
static javax.xml.transform.Source convertToSource(java.lang.Object xmlObj, java.lang.String systemId)
           
 int doEndTag()
          Process the tag.
 int doStartTag()
          Process the tag.
 void setDoc(Expr xml)
          Sets the JSP-EL XML value.
 void setDocSystemId(Expr xmlSystemId)
          Sets the JSP-EL XML system id expr.
 void setResult(Expr result)
          Sets the result
 void setScope(java.lang.String scope)
          Sets the scope
 void setVar(java.lang.String var)
          Sets the variable
 void setXml(Expr xml)
          Sets the JSP-EL XML value.
 void setXmlSystemId(Expr xmlSystemId)
          Sets the JSP-EL XML system id expr.
 void setXslt(Expr xslt)
          Sets the JSP-EL XML value.
 void setXsltSystemId(Expr xsltSystemId)
          Sets the JSP-EL XSLT system id.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

XmlTransformTag

public XmlTransformTag()
Method Detail

setXml

public void setXml(Expr xml)
Sets the JSP-EL XML value.


setDoc

public void setDoc(Expr xml)
Sets the JSP-EL XML value.


setXslt

public void setXslt(Expr xslt)
Sets the JSP-EL XML value.


setXmlSystemId

public void setXmlSystemId(Expr xmlSystemId)
Sets the JSP-EL XML system id expr.


setDocSystemId

public void setDocSystemId(Expr xmlSystemId)
Sets the JSP-EL XML system id expr.


setXsltSystemId

public void setXsltSystemId(Expr xsltSystemId)
Sets the JSP-EL XSLT system id.


setVar

public void setVar(java.lang.String var)
Sets the variable


setScope

public void setScope(java.lang.String scope)
Sets the scope


setResult

public void setResult(Expr result)
Sets the result


addParam

public void addParam(java.lang.String name,
                     java.lang.String value)
Adds a parameter.

Specified by:
addParam in interface NameValueTag

doStartTag

public int doStartTag()
               throws JspException
Process the tag.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Process the tag.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
EVAL_PAGE to continue the page SKIP_PAGE to stop.
Throws:
JspException

convertToSource

public static javax.xml.transform.Source convertToSource(java.lang.Object xmlObj,
                                                         java.lang.String systemId)
                                                  throws JspException
Throws:
JspException