| com.microstrategy.web.beans.RWBeanVisitor |
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.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void | onEndSection(RWSection section, MarkupOutput mo) | ||||||||||
| abstract void |
onObject(RWBean rwBean, RWObject ob, MarkupOutput mo)
Specific case where
| ||||||||||
| abstract void |
onObject(ViewBean viewBean, RWObject ob, MarkupOutput mo)
Specific case where
| ||||||||||
| abstract void |
onObject(RWObject ob, MarkupOutput mo)
This is invoked as a fallback if the more specific | ||||||||||
| abstract void | onStartSection(RWSection section, MarkupOutput mo) | ||||||||||
| section | the report writing document section. |
|---|---|
| mo | the markup output. |
Specific case where
RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT.
The corresponding data value is encapsulated in a RWBean for ease of use.
| rwBean | an embedded bean. |
|---|---|
| ob | the report writing document object. |
| mo | the markup output. |
Specific case where
RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPH
The corresponding data value is encapsulated in a ViewBean for ease of use.
| viewBean | an embedded bean. |
|---|---|
| ob | the report writing document object. |
| mo | the markup output. |
This is invoked as a fallback if the more specific onObject
declarations are not matched.
| ob | the report writing document object. |
|---|---|
| mo | the markup output. |
| section | the report writing document section. |
|---|---|
| mo | the markup output. |