public class BasicPropertyTag extends WebWorkBodyTagSupport
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
escape |
protected boolean |
hadBody |
protected static org.apache.commons.logging.Log |
log |
protected String |
valueAttr |
stack| Constructor and Description |
|---|
BasicPropertyTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody() |
int |
doEndTag() |
int |
doStartTag() |
protected String |
escapeValue(String value)
This is called to escape a value for output.
|
protected void |
onOutput(javax.servlet.jsp.JspWriter out,
String bodyOutput)
This is called when the tag has something to output.
|
void |
setEscape(boolean inEscape) |
void |
setValue(String inName) |
protected boolean |
shouldEscape()
The BasicPropertyTag should escape IF the escape value has been set to true.
|
findString, findValue, getStack, release, setPageContext, setParent, toStringdoInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setValueprotected static org.apache.commons.logging.Log log
protected String valueAttr
protected Boolean escape
protected boolean hadBody
public void setValue(String inName)
public void setEscape(boolean inEscape)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class WebWorkBodyTagSupportjavax.servlet.jsp.JspExceptionprotected void onOutput(javax.servlet.jsp.JspWriter out,
String bodyOutput)
throws IOException
out - the JspWriter to usebodyOutput - the content to writeIOException - because we are involved in that gameprotected boolean shouldEscape()
PropertyTag.shouldEscape()Copyright © 2013 Atlassian. All Rights Reserved.