java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.r12.parsing.XmlContainerDS
All Implemented Interfaces:
IContainerDS, IElementDS, IReportingDS
Direct Known Subclasses:
XmlPageDS

public class XmlContainerDS extends ReportingDS implements IContainerDS
Xml datasource implementation.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • iterateContents

      public void iterateContents(IContainmentVisitor visitor)
      Description copied from interface: IContainerDS
      This method should iterate over all the content of this container, and invoke the visitor to add the content.
      Specified by:
      iterateContents in interface IContainerDS
      Parameters:
      visitor - The visitor that should be used to add the content to.
    • iterateProperties

      public void iterateProperties(IPropertyVisitor visitor)
      Description copied from interface: IContainerDS
      This method should iterate over all the properties of the container, and invoke the visitor to add the property.
      Specified by:
      iterateProperties in interface IContainerDS
      Parameters:
      visitor - The visitor that should be used to add the properties to.
    • iterateExitEvents

      public void iterateExitEvents(IContainerExitEventVisitor visitor)
      Description copied from interface: IContainerDS
      This method should iterate over all the mapped exit events of the container, and invoke the visitor to add the mapping.
      Specified by:
      iterateExitEvents in interface IContainerDS
      Parameters:
      visitor - The visitor that should be used to add the events to.
    • getName

      public String getName()
      Description copied from interface: IElementDS
      This method returns the (unique) name of the element. The name is required when adding the content as a definition to the composer, but it is optional when the element is added directly as inline sub-content.
      Specified by:
      getName in interface IElementDS
      Returns:
      the (unique) name of the element.
    • getPresentationStyles

      public String[] getPresentationStyles()
      Description copied from interface: IElementDS
      This method returns the presentation styles that should be used when including the content element that is referred to.
      Specified by:
      getPresentationStyles in interface IElementDS
      Returns:
      the presentation styles that should be used when including the content element that is referred to.
    • getAllowedChannels

      public String[] getAllowedChannels()
      Description copied from interface: IContainerDS
      This method returns an array containing all the channel names of the channels in which the container is allowed to be used. When the container is available for all channels, it is recommended to return either an empty array or a null value.
      Specified by:
      getAllowedChannels in interface IContainerDS
      Returns:
      Array containing all the channels for which the container is available.
    • getAllowedRoles

      public String[] getAllowedRoles()
      Description copied from interface: IContainerDS
      This method returns an array containing all the role names of the roles for which the container is allowed to be used. When the container is available for all roles, it is recommended to return either an empty array or a null value.
      Specified by:
      getAllowedRoles in interface IContainerDS
      Returns:
      Array containing all the roles for which the container is available.
    • getContentStyle

      public String getContentStyle()
      Description copied from interface: IContainerDS

      This method returns the content style that should be used when including the element that is referred to.

      Pre version 7.0 the content style equals the tagname of the container.

      Specified by:
      getContentStyle in interface IContainerDS
      Returns:
      the content style that should be used when including the element that is referred to.
    • getDisplayText

      public IMultilingualText getDisplayText()
      Description copied from interface: IContainerDS
      This method returns the text object that should be used as the display text for the container. The text object may contain expressions, as it will be parsed during initialization to a IDynamicText object.
      Specified by:
      getDisplayText in interface IContainerDS
      Returns:
      the text object that should be used as the display text for the container.
    • getExitEvents

      public String[] getExitEvents()
      Description copied from interface: IContainerDS
      This method returns the possible exit events that can be fired by this container. This method should return null when this container is unaware of its exit events.
      Specified by:
      getExitEvents in interface IContainerDS
      Returns:
      the possible exit events, can be null.
    • getTypeName

      public String getTypeName()
      Description copied from interface: IContainerDS
      This method returns the type name of the container.
      Specified by:
      getTypeName in interface IContainerDS
      Returns:
      the type name of the container.
    • isContextImmutable

      public boolean isContextImmutable()
      Description copied from interface: IContainerDS
      This method returns a boolean indicating if the container considers the context read-only, and does not require any write access to the context during an expand.
      Specified by:
      isContextImmutable in interface IContainerDS
      Returns:
      Boolean indicating if the container considers the context read-only.
    • isDynamic

      public boolean isDynamic()
      Description copied from interface: IContainerDS
      This method indicated if the container is a dynamic container.
      Specified by:
      isDynamic in interface IContainerDS
      Returns:
      boolean indicating if the container is a dynamic container.