Interface IContentVisitor

All Known Implementing Classes:
ContentDelegateVisitor, ContentVisitor, ContentVisitor, ReportingContentVisitor

public interface IContentVisitor
Visitor that is used during the initialization of the composer to add static content.
Since:
5.0
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAsset(IAssetDS datasource)
    This method may be used to add a asset definition.
    void
    addButton(IButtonDS datasource)
    This method may be used to add a button definition.
    void
    This method may be used to add a container definition.
    void
    addContent(IContentDS datasource)
    This method should be used to add a content definition.
    void
    This method should be used to add a document definition.
    void
    addField(IFieldDS datasource)
    This method may be used to add a field definition.
    void
    addImage(IImageDS datasource)
    This method should be used to add an image definition.
    void
    addPage(IPageDS datasource)
    This method may be used to add a page definition.
    void
    addText(ITextDS datasource)
    This method should be used to add a text definition.
  • Method Details

    • addButton

      void addButton(IButtonDS datasource)
      This method may be used to add a button definition.
      Parameters:
      datasource - Data source implementation providing the element data.
      Throws:
      InitializationException - This exception is raised when the element could not be initialized with the provided data.
    • addAsset

      void addAsset(IAssetDS datasource)
      This method may be used to add a asset definition.
      Parameters:
      datasource - Data source implementation providing the element data.
      Throws:
      InitializationException - This exception is raised when the element could not be initialized with the provided data.
    • addContainer

      void addContainer(IContainerDS datasource)
      This method may be used to add a container definition.
      Parameters:
      datasource - Data source implementation providing the element data.
      Throws:
      InitializationException - This exception is raised when the element could not be initialized with the provided data.
    • addPage

      void addPage(IPageDS datasource)
      This method may be used to add a page definition.
      Parameters:
      datasource - Data source implementation providing the element data.
      Throws:
      InitializationException - This exception is raised when the element could not be initialized with the provided data.
    • addField

      void addField(IFieldDS datasource)
      This method may be used to add a field definition.
      Parameters:
      datasource - Data source implementation providing the element data.
      Throws:
      InitializationException - This exception is raised when the element could not be initialized with the provided data.
    • addDocument

      void addDocument(IDocumentDS datasource)
      This method should be used to add a document definition.
      Parameters:
      datasource - Data source that provides the required data to initialize the element.
      Throws:
      InitializationException - This exception is thrown when the document could not be added due to a fatal error.
    • addContent

      void addContent(IContentDS datasource)
      This method should be used to add a content definition.
      Parameters:
      datasource - Data source that provides the required data to initialize the element.
      Throws:
      InitializationException - This exception is thrown when the content could not be added due to a fatal error.
    • addText

      void addText(ITextDS datasource)
      This method should be used to add a text definition.
      Parameters:
      datasource - Data source that provides the required data to initialize the element.
      Throws:
      InitializationException - This exception is thrown when the text could not be added due to a fatal error.
    • addImage

      void addImage(IImageDS datasource)
      This method should be used to add an image definition.
      Parameters:
      datasource - Data source that provides the required data to initialize the element.
      Throws:
      InitializationException - This exception is thrown when the text could not be added due to a fatal error.