Interface RWBeanVisitor
-
- All Known Subinterfaces:
RWBeanVisitor2
- All Known Implementing Classes:
AbstractRWBeanVisitor,AbstractRWBeanVisitor2,AbstractRWDataVisualizationTransform,AbstractSimplifiedRWXMLTransform,MobileChunkedRWTransform,MojoIVETransform.IVELayoutContext,MojoIVETransform.IVELayoutContextDefn,MojoRWDTransform.RWLayoutContext,MojoRWDTransform.RWLayoutContextDefn,RWFlashTransform,RWLayoutTransform,RWSectionsVisitor,RWXMLTransform
public interface RWBeanVisitorProvides a callback mechanism (invoked via
RWBean.iterate(RWBeanVisitor, boolean, MarkupOutput)) to ease the handling of complexRWObject, by automatically mapping them to their respectiveWebBeanhelpers. This interface also includesMarkupOutputas a callback parameter - this is the same instance specified in theRWBean#iteratemethod.This interface should be used in lieu of
RWVisitorif the more specificonObjectcallbacks prove useful.- Since:
- MicroStrategy Web 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEndSection(RWSection section, MarkupOutput mo)voidonObject(RWBean rwBean, RWObject ob, MarkupOutput mo)Specific case whereRWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT.voidonObject(ViewBean viewBean, RWObject ob, MarkupOutput mo)Specific case whereRWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPHThe corresponding data value is encapsulated in a ViewBean for ease of use.voidonObject(RWObject ob, MarkupOutput mo)This is invoked as a fallback if the more specificonObjectdeclarations are not matched.voidonStartSection(RWSection section, MarkupOutput mo)
-
-
-
Method Detail
-
onStartSection
void onStartSection(RWSection section, MarkupOutput mo)
- Parameters:
section- the report writing document section.mo- the markup output.- See Also:
RWVisitor.onStartSection(RWSection)
-
onEndSection
void onEndSection(RWSection section, MarkupOutput mo)
- Parameters:
section- the report writing document section.mo- the markup output.- See Also:
RWVisitor.onEndSection(RWSection)
-
onObject
void onObject(RWObject ob, MarkupOutput mo)
This is invoked as a fallback if the more specific
onObjectdeclarations are not matched.- Parameters:
ob- the report writing document object.mo- the markup output.- See Also:
RWVisitor.onObject(RWObject)
-
onObject
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.- See Also:
RWVisitor.onObject(RWObject)
-
onObject
void onObject(ViewBean viewBean, RWObject ob, MarkupOutput mo)
Specific case where
RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPHThe 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.- See Also:
RWVisitor.onObject(RWObject)
-
-