public interface

StyleMapperResult

com.microstrategy.web.transform.StyleMapperResult
Known Indirect Subclasses

Class Overview

This class represents the result of a "style mapping" request. An object of this class is returned by the mapStyle(String, StyleRequestContext, String) method. If the conditions required to perform the mapper were met, than the wereConditionsMet() method returns true. If the mapper has a specific style name selected to map to, then it that name is returned by the getMappedStyleName() method.

Summary

Public Methods
abstract String getMappedStyleName()
Returns the preferred style name to map to, if the conditions were met.
abstract void setMappedStyleName(String toStyle)
Sets the preferred style name to map to, if the conditions were met.
abstract void setWereConditionsMet(boolean conditionsMet)
Sets whether the conditions were successfully met or not.
abstract boolean wereConditionsMet()
Returns whether the conditions necessary to perform the style mapping were met.

Public Methods

public abstract String getMappedStyleName ()

Returns the preferred style name to map to, if the conditions were met.

Returns
  • The preferred style name to map to, if the conditions were met.

public abstract void setMappedStyleName (String toStyle)

Sets the preferred style name to map to, if the conditions were met.

Parameters
toStyle The preferred style name to map to, if the conditions were met.

public abstract void setWereConditionsMet (boolean conditionsMet)

Sets whether the conditions were successfully met or not.

Parameters
conditionsMet Whether the conditions were successfully met or not.

public abstract boolean wereConditionsMet ()

Returns whether the conditions necessary to perform the style mapping were met.

Returns
  • Whether the conditions necessary to perform the style mapping were met.