Interface StyleMapClause

    • Method Detail

      • getToStyle

        java.lang.String getToStyle()
        Returns the style to map to.
        Returns:
        The style to map to.
      • setToStyle

        void setToStyle​(java.lang.String toStyle)
        Sets the style to map to.
        Parameters:
        toStyle - The style to map to.
      • mapStyle

        StyleMapperResult mapStyle​(java.lang.String fromStyle,
                                   StyleRequestContext context)
        Maps the specified style to a new style based on the data in the StyleRequestContext object as well as any additional data specified on the condition.
        Parameters:
        fromStyle - The style that is being requested.
        context - The data in the current style's request context.
        Returns:
        A StyleMapperResult object that describes the result of the mapping condition.