Interface IElementDefinition

All Superinterfaces:
Serializable
All Known Implementing Classes:
AssetDefinition, ButtonDefinition, CompositeNodeDefinition, ContainerDefinition, ContentDefinition, ContentStyleDefinition, DocumentDefinition, ElementDefinition, FieldDefinition, ImageDefinition, PageDefinition, TextDefinition

public interface IElementDefinition extends Serializable
Base interface for all element definitions in the composer.
Since:
6.5
Author:
O. Kerpershoek
  • Method Details

    • getType

      ElementType getType()
      This method returns the type of the element.
      Returns:
      The type of the element the definition represents.
    • getName

      String getName()
      This method returns the name of the element definition. The name can be empty for element definitions that can not be retrieved by name, these elements can only be used via an inline reference.
      Returns:
      The name of the element definition, can be null.
    • getPresentationStyles

      PresentationStyle[] getPresentationStyles()
      This method returns the presentation styles for the element.
      Returns:
      The presentation styles, never null, but could be an empty array.