public abstract class BaseOutputProducingTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
escapeEntities |
protected String |
fallbackValue |
protected String |
query |
protected String |
variableName |
Modifier | Constructor and Description |
---|---|
|
BaseOutputProducingTag() |
protected |
BaseOutputProducingTag(boolean escapeEntities) |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag()
Process the start tag for this instance.
|
abstract void |
generateOutput(javax.servlet.jsp.JspWriter out,
Object outObject) |
Object |
generateOutputObject()
Get the object to write out (either through a variable or query).
|
protected abstract String |
getName() |
protected void |
print2Writer(javax.servlet.jsp.JspWriter out,
String string)
INTERNAL: prints out string to specified JspWriter object
with respect if the entities should be escaped.
|
void |
release()
reset the state of the Tag.
|
void |
setFallback(String fallbackValue) |
void |
setQuery(String query) |
void |
setVar(String variableName) |
protected boolean escapeEntities
protected String variableName
protected String query
protected String fallbackValue
public BaseOutputProducingTag()
protected BaseOutputProducingTag(boolean escapeEntities)
protected abstract String getName()
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspTagException
public final int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public abstract void generateOutput(javax.servlet.jsp.JspWriter out, Object outObject) throws javax.servlet.jsp.JspTagException, IOException
javax.servlet.jsp.JspTagException
IOException
public Object generateOutputObject() throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public void setQuery(String query)
public final void setVar(String variableName)
public final void setFallback(String fallbackValue)
protected final void print2Writer(javax.servlet.jsp.JspWriter out, String string) throws IOException
IOException