public interface

RWBeanVisitor

com.microstrategy.web.beans.RWBeanVisitor
Known Indirect Subclasses

Class Overview

Provides a callback mechanism (invoked via iterate(RWBeanVisitor, boolean, MarkupOutput)) to ease the handling of complex RWObject, by automatically mapping them to their respective WebBean helpers. This interface also includes MarkupOutput as a callback parameter - this is the same instance specified in the RWBean#iterate method.

This interface should be used in lieu of RWVisitor if the more specific onObject callbacks prove useful.

Summary

Public Methods
abstract void onEndSection(RWSection section, MarkupOutput mo)
abstract void onObject(RWObject ob, MarkupOutput mo)

This is invoked as a fallback if the more specific onObject declarations are not matched.

abstract void onObject(RWBean rwBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT.

abstract void onObject(ViewBean viewBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPH The corresponding data value is encapsulated in a ViewBean for ease of use.

abstract void onStartSection(RWSection section, MarkupOutput mo)

Public Methods

public abstract void onEndSection (RWSection section, MarkupOutput mo)

Parameters
section the report writing document section.
mo the markup output.

public abstract void onObject (RWObject ob, MarkupOutput mo)

This is invoked as a fallback if the more specific onObject declarations are not matched.

Parameters
ob the report writing document object.
mo the markup output.

public abstract void onObject (RWBean rwBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT. The corresponding data value is encapsulated in a RWBean for ease of use.

Parameters
rwBean an embedded bean.
ob the report writing document object.
mo the markup output.

public abstract void onObject (ViewBean viewBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPH The corresponding data value is encapsulated in a ViewBean for ease of use.

Parameters
viewBean an embedded bean.
ob the report writing document object.
mo the markup output.

public abstract void onStartSection (RWSection section, MarkupOutput mo)

Parameters
section the report writing document section.
mo the markup output.