public abstract class Section
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Section() |
Modifier and Type | Method and Description |
---|---|
abstract void |
handle(SectionVisitor visitor)
This method will trigger appropriate visit method
SectionVisitor.visit(ProductSection)
or SectionVisitor.visit(PromotionSection) depending on type of current section |
public abstract void handle(SectionVisitor visitor)
SectionVisitor.visit(ProductSection)
or SectionVisitor.visit(PromotionSection)
depending on type of current sectionvisitor
- object