Package com.microstrategy.web.tags
Interface IfTag
-
- All Superinterfaces:
DynamicTag,EnumHTMLTags,Tag
public interface IfTag extends DynamicTag
TheIfTaginterface respresents a conditional tag whose result determines which branch to execute at the runtime.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_NAME_IF_OPERATORThe constant name of theoperatorattribute.static java.lang.StringATTR_NAME_IF_VALUEThe constant name of thevalueattribute.static java.lang.StringIF_OPERATOR_EQUAL_IGNORE_CASE_LONGstatic java.lang.StringIF_OPERATOR_EQUAL_IGNORE_CASE_SHORTstatic java.lang.StringIF_OPERATOR_EQUAL_LONGstatic java.lang.StringIF_OPERATOR_EQUAL_SHORTThe constant to define the types of operations theoperatorattribute defines.static java.lang.StringIF_OPERATOR_GREATER_THAN_EQUAL_LONGstatic java.lang.StringIF_OPERATOR_GREATER_THAN_EQUAL_SHORTstatic java.lang.StringIF_OPERATOR_GREATER_THAN_LONGstatic java.lang.StringIF_OPERATOR_GREATER_THAN_SHORTstatic java.lang.StringIF_OPERATOR_IGNORE_CASE_LONGstatic java.lang.StringIF_OPERATOR_IGNORE_CASE_SHORTThe constant to define the post-fix ofoperatorattribute when ingore case is required.static java.lang.StringIF_OPERATOR_IS_EMPTY_STRINGstatic java.lang.StringIF_OPERATOR_IS_NOT_EMPTY_STRINGstatic java.lang.StringIF_OPERATOR_IS_NOT_NULLstatic java.lang.StringIF_OPERATOR_IS_NULLstatic java.lang.StringIF_OPERATOR_LESS_THAN_EQUAL_LONGstatic java.lang.StringIF_OPERATOR_LESS_THAN_EQUAL_SHORTstatic java.lang.StringIF_OPERATOR_LESS_THAN_LONGstatic java.lang.StringIF_OPERATOR_LESS_THAN_SHORTstatic java.lang.StringIF_OPERATOR_NOT_EQUAL_IGNORE_CASE_LONGstatic java.lang.StringIF_OPERATOR_NOT_EQUAL_IGNORE_CASE_SHORTstatic java.lang.StringIF_OPERATOR_NOT_EQUAL_LONGstatic java.lang.StringIF_OPERATOR_NOT_EQUAL_SHORTstatic java.lang.StringTAG_NAME_ELSEThe constant name of theelsetag.static java.lang.StringTAG_NAME_IFThe constant name of theIfTag.static java.lang.StringTAG_NAME_THENThe constant name of thethentag.-
Fields inherited from interface com.microstrategy.web.tags.DynamicTag
ATTR_NAME_METHOD, ATTR_NAME_METHOD_BASE, ATTR_NAME_NAME, METHOD_SOURCE_BEAN, METHOD_SOURCE_BEAN_NAME, METHOD_SOURCE_OBJECT, METHOD_SOURCE_TRANSFORM, METHOD_SOURCE_TRANSFORM_NAME
-
Fields inherited from interface com.microstrategy.web.tags.EnumHTMLTags
ATT_ACTION, ATT_ALIGN, ATT_ALT, ATT_AUTOCOMPLETE, ATT_BORDER, ATT_CELLPADDING, ATT_CELLSPACING, ATT_CHECKED, ATT_CLASS, ATT_CMD_FORMAT_TYPE, ATT_CMDID, ATT_CMDLVL, ATT_COLS, ATT_COLSPAN, ATT_DG, ATT_DIALOG, ATT_DISABLED, ATT_FOR, ATT_HEIGHT, ATT_HREF, ATT_HSPACE, ATT_ID, ATT_IFRAME, ATT_LANGUAGE, ATT_MAXLENGTH, ATT_METHOD, ATT_MODAL, ATT_NAME, ATT_NOWRAP, ATT_ONCHANGE, ATT_ONCLICK, ATT_ONFOCUS, ATT_ONKEYDOWN, ATT_ONKEYUP, ATT_ONMOUSEOUT, ATT_ONMOUSEOVER, ATT_ONSUBMIT, ATT_PARAM, ATT_PLACEHOLDER, ATT_READONLY, ATT_REL, ATT_ROWS, ATT_ROWSPAN, ATT_SCRIPT_CLASS, ATT_SELECTED, ATT_SIZE, ATT_SRC, ATT_STYLE, ATT_SUMMARY, ATT_TARGET, ATT_TITLE, ATT_TY, ATT_TYPE, ATT_VALIGN, ATT_VALUE, ATT_VALUE_ABSBOTTOM, ATT_VALUE_ABSMIDDLE, ATT_VALUE_BOTTOM, ATT_VALUE_BUTTON, ATT_VALUE_CHECKBOX, ATT_VALUE_DEFAULT, ATT_VALUE_EMBED, ATT_VALUE_FALSE, ATT_VALUE_HIDDEN, ATT_VALUE_IMAGE, ATT_VALUE_JAVASCRIPT, ATT_VALUE_LEFT, ATT_VALUE_MAX, ATT_VALUE_MIDDLE, ATT_VALUE_MIN, ATT_VALUE_NUMBER, ATT_VALUE_POST, ATT_VALUE_RADIO, ATT_VALUE_SUBMIT, ATT_VALUE_TEXT, ATT_VALUE_TOP, ATT_VALUE_TRUE, ATT_VSPACE, ATT_WIDTH, TAG_NAME_ANCHOR, TAG_NAME_CELL, TAG_NAME_DIV, TAG_NAME_HEADER, TAG_NAME_IFRAME, TAG_NAME_IMAGE, TAG_NAME_INPUT, TAG_NAME_LABEL, TAG_NAME_MAP, TAG_NAME_OPTION, TAG_NAME_ROW, TAG_NAME_SCRIPT, TAG_NAME_SELECT, TAG_NAME_SPAN, TAG_NAME_STYLE, TAG_NAME_TABLE, TAG_NAME_TBODY, TAG_NAME_TEXTAREA, TAG_NAME_THEAD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaggetElseBlock()Returns theelsebranch.TaggetThenBlock()Returns thethenbranch.voidsetElseBlock(Tag elseTag)Sets aelsebranch on the currentIfTag.voidsetThenBlock(Tag thenTag)Sets athenbranch on the currentIfTag.-
Methods inherited from interface com.microstrategy.web.tags.DynamicTag
addArgument, addOnException, getArguments, getMethodName, getMethodSource, getOnExceptions, invokeMethod, setMethodName, setMethodSource
-
Methods inherited from interface com.microstrategy.web.tags.Tag
addChild, addChild, addChild, addTextChild, addTextChild, doEndTag, doStartTag, getAttribute, getAttributeNames, getChildren, getContent, getCssClass, getDeepCopy, getId, getLineNumber, getPreserveCase, getRootTag, getSealed, getStyle, getTagName, isClosedRequired, isContentInline, isDynamic, removeChildren, render, render, renderCloseTag, renderOpenTag, renderOpenTag, replaceContent, setAttribute, setAttributes, setCssClass, setDynamic, setId, setIsClosedRequired, setIsContentInline, setLineNumber, setPreserveCase, setRootTag, setSealed, setStyle, setTagName
-
-
-
-
Field Detail
-
TAG_NAME_IF
static final java.lang.String TAG_NAME_IF
The constant name of theIfTag.- See Also:
- Constant Field Values
-
TAG_NAME_ELSE
static final java.lang.String TAG_NAME_ELSE
The constant name of theelsetag.- See Also:
- Constant Field Values
-
TAG_NAME_THEN
static final java.lang.String TAG_NAME_THEN
The constant name of thethentag.- See Also:
- Constant Field Values
-
ATTR_NAME_IF_VALUE
static final java.lang.String ATTR_NAME_IF_VALUE
The constant name of thevalueattribute.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATTR_NAME_IF_OPERATOR
static final java.lang.String ATTR_NAME_IF_OPERATOR
The constant name of theoperatorattribute.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IGNORE_CASE_SHORT
static final java.lang.String IF_OPERATOR_IGNORE_CASE_SHORT
The constant to define the post-fix ofoperatorattribute when ingore case is required.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IGNORE_CASE_LONG
static final java.lang.String IF_OPERATOR_IGNORE_CASE_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_EQUAL_SHORT
static final java.lang.String IF_OPERATOR_EQUAL_SHORT
The constant to define the types of operations theoperatorattribute defines.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_NOT_EQUAL_SHORT
static final java.lang.String IF_OPERATOR_NOT_EQUAL_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_EQUAL_IGNORE_CASE_SHORT
static final java.lang.String IF_OPERATOR_EQUAL_IGNORE_CASE_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_NOT_EQUAL_IGNORE_CASE_SHORT
static final java.lang.String IF_OPERATOR_NOT_EQUAL_IGNORE_CASE_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_GREATER_THAN_SHORT
static final java.lang.String IF_OPERATOR_GREATER_THAN_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_LESS_THAN_SHORT
static final java.lang.String IF_OPERATOR_LESS_THAN_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_GREATER_THAN_EQUAL_SHORT
static final java.lang.String IF_OPERATOR_GREATER_THAN_EQUAL_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_LESS_THAN_EQUAL_SHORT
static final java.lang.String IF_OPERATOR_LESS_THAN_EQUAL_SHORT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_EQUAL_LONG
static final java.lang.String IF_OPERATOR_EQUAL_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_NOT_EQUAL_LONG
static final java.lang.String IF_OPERATOR_NOT_EQUAL_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_EQUAL_IGNORE_CASE_LONG
static final java.lang.String IF_OPERATOR_EQUAL_IGNORE_CASE_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_NOT_EQUAL_IGNORE_CASE_LONG
static final java.lang.String IF_OPERATOR_NOT_EQUAL_IGNORE_CASE_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_GREATER_THAN_LONG
static final java.lang.String IF_OPERATOR_GREATER_THAN_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_LESS_THAN_LONG
static final java.lang.String IF_OPERATOR_LESS_THAN_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_GREATER_THAN_EQUAL_LONG
static final java.lang.String IF_OPERATOR_GREATER_THAN_EQUAL_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_LESS_THAN_EQUAL_LONG
static final java.lang.String IF_OPERATOR_LESS_THAN_EQUAL_LONG
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IS_NULL
static final java.lang.String IF_OPERATOR_IS_NULL
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IS_NOT_NULL
static final java.lang.String IF_OPERATOR_IS_NOT_NULL
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IS_EMPTY_STRING
static final java.lang.String IF_OPERATOR_IS_EMPTY_STRING
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
IF_OPERATOR_IS_NOT_EMPTY_STRING
static final java.lang.String IF_OPERATOR_IS_NOT_EMPTY_STRING
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getThenBlock
Tag getThenBlock()
Returns thethenbranch.- Returns:
- the tag representing the
thenbranch.
-
setThenBlock
void setThenBlock(Tag thenTag) throws UnmodifiableException
Sets athenbranch on the currentIfTag.- Parameters:
thenTag- the tag representing thethenbranch.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
getElseBlock
Tag getElseBlock()
Returns theelsebranch.- Returns:
- the tag representing the
elsebranch.
-
setElseBlock
void setElseBlock(Tag elseTag) throws UnmodifiableException
Sets aelsebranch on the currentIfTag.- Parameters:
elseTag- the tag representing theelsebranch.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
-