Interface IPluginFormElementTemplateIcon

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultPluginFormElementTemplateIcon

public interface IPluginFormElementTemplateIcon extends Serializable
An icon for a IPluginFormElementTemplateDescriptor, consisting of a media type and a URI.
Since:
8.0.1
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the media type for the icon, such as image/png or image/svg+xml.
    The URI with the icon's data, which is then passed to loadIcon.
  • Method Details

    • getMediaType

      String getMediaType()
      Gets the media type for the icon, such as image/png or image/svg+xml.
      Returns:
      The media type of the icon.
    • getUri

      URI getUri()
      The URI with the icon's data, which is then passed to loadIcon.

      Note: The resource might be cached with the returned URI as the cache key. Plugins should append e.g. a version parameter (such as the plugin version) to the URI if needed.

      Returns:
      URI for the icon's data.