Interface IContainmentVisitor

All Known Implementing Classes:
ContainmentDelegateVisitor, ContainmentVisitor, ContainmentVisitor, ReportingContainmentVisitor

public interface IContainmentVisitor
Visitor interface that is used during initialization to add content to containers of pages.
Since:
5.0
Author:
O. Kerpershoek
  • Method Details

    • addField

      void addField(IReferenceDS reference, IFieldDS field)
      This method may be used to add a field to the container.
      Parameters:
      reference - Data source providing the information about the relation.
      field - Data source providing the field specific information.
      Throws:
      InitializationException - This exception is thrown when the field could not be added due to incorrect data.
    • addContainer

      void addContainer(IReferenceDS reference, IContainerDS container)
      This method may be used to add an inline container to the container.
      Parameters:
      reference - Data source providing the information about the relation.
      container - Data source providing the container specific information.
      Throws:
      InitializationException - This exception is thrown when the container could not be added due to incorrect data.
    • addReference

      void addReference(IReferenceDS datasource, String name)
      This method may be used to add a containment to the container.
      Parameters:
      datasource - Data source providing the information about the relation.
      name - The name of the element that should be included as content.
      Throws:
      InitializationException - This exception is thrown when the containment could not be added due to incorrect data.