Interface Condition.TagCondition

    • Method Detail

      • applies

        default boolean applies​(Environment e)
        Description copied from interface: Condition
        Checks if the condition applies in the given MapCSS Environment.
        Specified by:
        applies in interface Condition
        Parameters:
        e - The environment to check. May not be null.
        Returns:
        true if the condition applies.
      • applies

        boolean applies​(Tagged tagged)
        Description copied from interface: Condition
        Checks if the condition applies in the given Tagged element.
        Specified by:
        applies in interface Condition
        Parameters:
        tagged - The tagged to check.
        Returns:
        true if the condition applies.
      • asTag

        Tag asTag​(Tagged tagged)
        Converts the current condition to a tag
        Parameters:
        tagged - A tagged object to use as context. May be ignored.
        Returns:
        A tag with the key/value of this condition.