Class ContentStyleDefinition

java.lang.Object
com.aquima.interactions.composer.model.definition.ElementDefinition
com.aquima.interactions.composer.model.definition.ContentStyleDefinition
All Implemented Interfaces:
IElementDefinition, Serializable

public class ContentStyleDefinition extends ElementDefinition
This class defines a content style.
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • ContentStyleDefinition

      protected ContentStyleDefinition()
    • ContentStyleDefinition

      protected ContentStyleDefinition(IContentStyleDS datasource)
    • ContentStyleDefinition

      protected ContentStyleDefinition(ContentStyleDefinition other)
  • Method Details

    • isRestricted

      public boolean isRestricted()
      This method returns a boolean indicating if the content style restricts the type of child styles that are allowed.
      Returns:
      a boolean indicating if the content style restricts the type of child styles that are allowed.
    • isDefaultStyle

      public boolean isDefaultStyle()
      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.
      Returns:
      a boolean indicating if the content style should be used as default.
    • isValidChild

      protected boolean isValidChild(ContentStyleDefinition childStyle)
    • getChildren

      protected String[] getChildren()
    • getType

      public ElementType getType()
      Description copied from interface: IElementDefinition
      This method returns the type of the element.
      Returns:
      The type of the element the definition represents.