Class XmlContentStyleDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.r17.parsing.XmlContentStyleDS
All Implemented Interfaces:
IContentStyleDS, IElementDS, IReportingDS

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

  • Method Details

    • getChildren

      public String[] getChildren()
      Description copied from interface: IContentStyleDS
      This method returns an array of style names that are allowed for content items that are direct child nodes of the content item with this style.
      Specified by:
      getChildren in interface IContentStyleDS
      Returns:
      The array of style names that are allowed as child style.
    • isDefault

      public boolean isDefault()
      Description copied from interface: IContentStyleDS
      This method returns a boolean indicating if the content style should be used as default when a content node does not specify a content style, but does define a presentation style.
      Specified by:
      isDefault in interface IContentStyleDS
      Returns:
      a boolean indicating if the content style should be used as default.
    • isRestricted

      public boolean isRestricted()
      Description copied from interface: IContentStyleDS
      This method returns a boolean indicating if the content style restricts the type of child styles that are allowed. When this method returns false, i.e. not restricted, the array of valid children is ignored.
      Specified by:
      isRestricted in interface IContentStyleDS
      Returns:
      a boolean indicating if the content style restricts the type of child styles that are allowed.
    • 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.