Interface IfTag

  • All Superinterfaces:
    DynamicTag, EnumHTMLTags, Tag

    public interface IfTag
    extends DynamicTag
    The IfTag interface respresents a conditional tag whose result determines which branch to execute at the runtime.
    Since:
    MicroStrategy Web 8.0.0
    • Field Detail

      • TAG_NAME_IF

        static final java.lang.String TAG_NAME_IF
        The constant name of the IfTag.
        See Also:
        Constant Field Values
      • TAG_NAME_ELSE

        static final java.lang.String TAG_NAME_ELSE
        The constant name of the else tag.
        See Also:
        Constant Field Values
      • TAG_NAME_THEN

        static final java.lang.String TAG_NAME_THEN
        The constant name of the then tag.
        See Also:
        Constant Field Values
      • ATTR_NAME_IF_VALUE

        static final java.lang.String ATTR_NAME_IF_VALUE
        The constant name of the value attribute.
        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 the operator attribute.
        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 of operator attribute 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 the operator attribute 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 the then branch.
        Returns:
        the tag representing the then branch.
      • setThenBlock

        void setThenBlock​(Tag thenTag)
                   throws UnmodifiableException
        Sets a then branch on the current IfTag.
        Parameters:
        thenTag - the tag representing the then branch.
        Throws:
        UnmodifiableException - thrown if the current tag is read-only.
      • getElseBlock

        Tag getElseBlock()
        Returns the else branch.
        Returns:
        the tag representing the else branch.
      • setElseBlock

        void setElseBlock​(Tag elseTag)
                   throws UnmodifiableException
        Sets a else branch on the current IfTag.
        Parameters:
        elseTag - the tag representing the else branch.
        Throws:
        UnmodifiableException - thrown if the current tag is read-only.