Interface IPluginFormElementTemplateLoader
-
public interface IPluginFormElementTemplateLoaderLoader for the form element templates provided by a form element template plugin.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamloadIcon(URI uri)Loads an icon for a template, identified by its URI.InputStreamloadPersistJson(URI uri)Loads a persist JSON for a template, identified by its URI.
-
-
-
Method Detail
-
loadIcon
InputStream loadIcon(URI uri) throws IOException
Loads an icon for a template, identified by its URI. SeegetIconfor 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
InputStream loadPersistJson(URI uri) throws IOException
Loads a persist JSON for a template, identified by its URI. SeegetPersistJsonUrifor 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.
-
-