Class OutTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- org.apache.taglibs.standard.tag.common.core.OutSupport
-
- org.apache.taglibs.standard.tag.el.core.OutTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class OutTag extends OutSupport
A handler for <out>, which redirects the browser to a new URL.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
defaultExpression
private java.lang.String
escapeXmlExpression
private java.lang.String
valueExpression
-
Constructor Summary
Constructors Constructor Description OutTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
evalDefault()
Evaluates the "default" attribute.protected boolean
evalEscapeXml()
Evaluates the "escapeXml" attribute.protected java.lang.Object
evalValue()
Evaluates the "value" attribute.void
release()
void
setDefault(java.lang.String def)
void
setEscapeXml(java.lang.String escapeXml)
void
setValue(java.lang.String value)
-
Methods inherited from class org.apache.taglibs.standard.tag.common.core.OutSupport
doAfterBody, doEndTag, doStartTag
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
release
public void release()
- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classOutSupport
-
setValue
public void setValue(java.lang.String value)
-
setDefault
public void setDefault(java.lang.String def)
-
setEscapeXml
public void setEscapeXml(java.lang.String escapeXml)
-
evalValue
protected java.lang.Object evalValue() throws javax.servlet.jsp.JspException
Description copied from class:OutSupport
Evaluates the "value" attribute.- Specified by:
evalValue
in classOutSupport
- Returns:
- the actual value of the "value" attribute
- Throws:
javax.servlet.jsp.JspException
- if there was a problem evaluating the expression
-
evalDefault
protected java.lang.String evalDefault() throws javax.servlet.jsp.JspException
Description copied from class:OutSupport
Evaluates the "default" attribute.- Specified by:
evalDefault
in classOutSupport
- Returns:
- the actual value of the "default" attribute
- Throws:
javax.servlet.jsp.JspException
- if there was a problem evaluating the expression
-
evalEscapeXml
protected boolean evalEscapeXml() throws javax.servlet.jsp.JspException
Description copied from class:OutSupport
Evaluates the "escapeXml" attribute.- Specified by:
evalEscapeXml
in classOutSupport
- Returns:
- the actual value of the "escapeXml" attribute
- Throws:
javax.servlet.jsp.JspException
- if there was a problem evaluating the expression
-
-