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 TypeMethodDescriptionvoid
This method may be used to add a asset definition.void
This method may be used to add a button definition.void
addContainer
(IContainerDS datasource) 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
addDocument
(IDocumentDS datasource) This method should be used to add a document definition.void
This method may be used to add a field definition.void
This method should be used to add an image definition.void
This method may be used to add a page definition.void
This method should be used to add a text definition.
-
Method Details
-
addButton
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
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
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
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
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
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
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
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
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.
-