Interface IPluginFormElementTemplateLoader
public interface IPluginFormElementTemplateLoader
Loader for the form element templates provided by a form element template plugin.
- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionLoads an icon for a template, identified by its URI.loadPersistJson
(URI uri) Loads a persist JSON for a template, identified by its URI.
-
Method Details
-
loadIcon
Loads an icon for a template, identified by its URI. SeegetIcon
for more details.- Parameters:
uri
- URI for the icon, as returned bygetIcon
.- Returns:
- An input stream with the data of the icon.
- Throws:
IOException
- When the icon could not be loaded. This may result in no icon being shown, or a default icon being shown.
-
loadPersistJson
Loads a persist JSON for a template, identified by its URI. SeegetPersistJsonUri
for more details.- Parameters:
uri
- URI for the persist JSON, as returned byIPluginFormElementTemplateDescriptor.getPersistJson()
.- Returns:
- An input stream with the data of the persist JSON.
- Throws:
IOException
- When the persist JSON could not be loaded.
-