public interface

StyleMapClause

implements ConfigurationElement
com.microstrategy.web.transform.StyleMapClause
Known Indirect Subclasses

Class Overview

This interface represents a generic clause in a Style Map.

Summary

Constants
int CLAUSE_CONDITION A condition clause.
int CLAUSE_DEFAULT A default clause.
int CLAUSE_UNKNOWN An unknown clause.
Public Methods
abstract String getToStyle()
Returns the style to map to.
abstract int getType()
Returns the type of the clause.
abstract StyleMapperResult mapStyle(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.
abstract void setToStyle(String toStyle)
Sets the style to map to.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.config.ConfigurationElement

Constants

public static final int CLAUSE_CONDITION

A condition clause.

Constant Value: 1 (0x00000001)

public static final int CLAUSE_DEFAULT

A default clause.

Constant Value: 2 (0x00000002)

public static final int CLAUSE_UNKNOWN

An unknown clause.

Constant Value: 0 (0x00000000)

Public Methods

public abstract String getToStyle ()

Returns the style to map to.

Returns
  • The style to map to.

public abstract int getType ()

Returns the type of the clause.

Returns
  • The type of the clause.

public abstract StyleMapperResult mapStyle (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

public abstract void setToStyle (String toStyle)

Sets the style to map to.

Parameters
toStyle The style to map to.