org.loom.tags.core
Class AbstractOutTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.core.AbstractOutTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, LoomTag
- Direct Known Subclasses:
- OutPropertyTag, OutTag
public abstract class AbstractOutTag
- extends AbstractTag
Parent of the out tags.
|
Method Summary |
void |
doTagImpl()
The method that must be implemented by the child class |
protected abstract java.lang.String |
getDisplayValue()
|
java.lang.String |
getVar()
|
boolean |
isEscapeHtml()
|
boolean |
isIf()
|
boolean |
isTranslate()
|
void |
setEscapeHtml(boolean escapeHtml)
|
void |
setIf(boolean ifClause)
False to skip tag execution (default true). |
void |
setScope(java.lang.String scope)
If var is not null, this is the scope where the value will be stored. |
void |
setTranslate(boolean translate)
|
void |
setVar(java.lang.String var)
|
| Methods inherited from class org.loom.tags.AbstractTag |
createWriterWrapper, doBody, doBufferedBody, doTag, endTag, evaluateExpression, getActionProperty, getAncestorWithClass, getBufferedBody, getExtendedAttributes, getMessagesRepository, getPageContext, getRequest, getResponse, getScopedAttribute, getWriter, initTag, printParentAttributes, removeScopedAttribute, setDynamicAttribute, setExtendedAttribute, setJspContext, setRequest, setResponse, setScopedAttribute, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOutTag
public AbstractOutTag()
getDisplayValue
protected abstract java.lang.String getDisplayValue()
throws javax.servlet.jsp.JspException
- Returns:
- the value that should get displayed
- Throws:
javax.servlet.jsp.JspException
doTagImpl
public void doTagImpl()
throws javax.servlet.jsp.JspException,
java.io.IOException
- Description copied from class:
AbstractTag
- The method that must be implemented by the child class
- Specified by:
doTagImpl in class AbstractTag
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
setScope
@Attribute
public void setScope(java.lang.String scope)
- If var is not null, this is the scope where the value will be stored.
Possible values are
page (default), request,
session and application.
setEscapeHtml
public void setEscapeHtml(boolean escapeHtml)
isTranslate
public boolean isTranslate()
setTranslate
public void setTranslate(boolean translate)
isIf
public boolean isIf()
setIf
@Attribute
public void setIf(boolean ifClause)
- False to skip tag execution (default true).
getVar
public java.lang.String getVar()
setVar
public void setVar(java.lang.String var)
isEscapeHtml
public boolean isEscapeHtml()