Class ContentStyle

java.lang.Object
com.aquima.interactions.composer.model.ContentStyle
All Implemented Interfaces:
Serializable

public final class ContentStyle extends Object implements Serializable
The content style is used to indicate where a content element should be rendered on a page. As the content styles are currently NOT predefined, the content style may contain any text/name.

Examples of content styles:

  • right align
  • second column
  • table header
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Method Details

    • valueOf

      public static ContentStyle valueOf(String name)
      This method returns the content style for the specified name.
      Parameters:
      name - The name of the content style that is requested.
      Returns:
      The content style for the specified name.
    • valueOf

      public static ContentStyle valueOf(ContentStyleDefinition definition)
      This method returns the content style for the content style definition.
      Parameters:
      definition - The content style definition.
      Returns:
      The content style for the specified definition.
    • getName

      public String getName()
      This method returns the name of the content style.
      Returns:
      The name of the content style.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object