java.lang.Object |
↳ |
com.microstrategy.web.transform.OutputFormatStyleMapper |
Class Overview
This is a very simple StyleMapper
object that evaluates the getOutputFormat()
property. It compares the value of this
property (stored in the StyleRequestContext
object) with a numeric
value specified as the "additional data".
Summary
Public Methods |
StyleMapperResult
|
mapStyle(String styleName, StyleRequestContext context, String addlData)
Determines whether the incoming style name ('styleName') should be
mapped to a new style name based on the request context object
('context') and any other additional data ('addlData') provided by the
Style Catalog Administrator.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.microstrategy.web.transform.StyleMapper
|
Public Constructors
public
OutputFormatStyleMapper
()
Public Methods
Determines whether the incoming style name ('styleName') should be
mapped to a new style name based on the request context object
('context') and any other additional data ('addlData') provided by the
Style Catalog Administrator. The result is encapsulated in an instance
of a StyleMapperResult
object.
Parameters
styleName |
The incoming style name that is being requested. |
context |
The StyleRequestContext object. |
addlData |
Any additional data supplied by the Style Catalog
Administrator when defining this mapping. |
Returns
- An instance of a
StyleMapperResult
object indicating
whether the conditions for mapper were met and a preferred
style name to use.