public abstract class TransformSupport extends BodyTagSupport
Support for tag handlers for <transform>, the XML transformation tag.
Modifier and Type | Field and Description |
---|---|
protected Result |
result |
protected Object |
xml |
protected boolean |
xmlSpecified |
protected String |
xmlSystemId |
protected Object |
xslt |
protected String |
xsltSystemId |
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
TransformSupport() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
Object value)
Sets (adds) a transformation parameter on our transformer.
|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setPageContext(PageContext pageContext)
Set the page context.
|
void |
setScope(String scope) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
protected Object xml
protected boolean xmlSpecified
protected String xmlSystemId
protected Object xslt
protected String xsltSystemId
protected Result result
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public int doEndTag() throws JspException
BodyTagSupport
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doEndTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
public void setPageContext(PageContext pageContext)
TagSupport
setPageContext
in interface Tag
setPageContext
in class TagSupport
pageContext
- The PageContext.Tag.setPageContext(javax.servlet.jsp.PageContext)
public void addParameter(String name, Object value)
public void setVar(String var)
public void setScope(String scope)
Copyright © 2016 JBoss by Red Hat. All rights reserved.