public abstract class AbstractFeatureTag
extends javax.servlet.jsp.tagext.TagSupport
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_MSG_END
Error message constant.
|
protected static String |
ERROR_MSG_START
Error message constant.
|
| Constructor and Description |
|---|
AbstractFeatureTag() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayError(String message)
Display an error message in tag.
|
int |
doStartTag() |
protected boolean |
eval(FF4j ff4j,
javax.servlet.jsp.PageContext pageContext) |
protected abstract boolean |
evalWithExecutionContext(FF4j ff4j,
javax.servlet.jsp.PageContext pageContext,
FlippingExecutionContext executionContext) |
String |
getFeatureid()
Getter accessor for attribute 'featureid'.
|
String |
getFf4jAttributeName()
Getter accessor for attribute 'ff4jAttributeName'.
|
int |
getScope()
Getter accessor for attribute
scope. |
String |
getVar()
Getter accessor for attribute
var. |
boolean |
isShareHttpSession()
Getter accessor for attribute 'shareHttpSession'.
|
void |
release() |
void |
setFeatureid(String featureid)
Setter accessor for attribute 'featureid'.
|
void |
setScope(int scope)
Setter accessor for
scope. |
void |
setShareHttpSession(boolean shareHttpSession)
Setter accessor for attribute 'shareHttpSession'.
|
void |
setVar(String var)
Setter accessor for
var. |
protected static final String ERROR_MSG_START
protected static final String ERROR_MSG_END
protected void displayError(String message) throws IOException
message - target messageIOException - errorpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionprotected boolean eval(FF4j ff4j, javax.servlet.jsp.PageContext pageContext)
protected abstract boolean evalWithExecutionContext(FF4j ff4j, javax.servlet.jsp.PageContext pageContext, FlippingExecutionContext executionContext)
public String getFeatureid()
public void setFeatureid(String featureid)
featureid - new value for 'featureid 'public String getFf4jAttributeName()
public boolean isShareHttpSession()
public void setShareHttpSession(boolean shareHttpSession)
shareHttpSession - new value for 'shareHttpSession 'public void setScope(int scope)
scope.scope - new value for scopepublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportCopyright © 2013–2019 FF4J. All rights reserved.