@ConsumerType
public interface ModelExporter
Modifier and Type | Method and Description |
---|---|
<T> T |
export(@NotNull Object model,
@NotNull Class<T> clazz,
@NotNull Map<String,String> options)
Export the provided model to the defined class using the options.
|
@NotNull String |
getName()
The name of the exporter.
|
boolean |
isSupported(@NotNull Class<?> clazz)
Check if the result class is supported by this exporter.
|
boolean isSupported(@NotNull @NotNull Class<?> clazz)
clazz
- the result class@Nullable <T> T export(@NotNull @NotNull Object model, @NotNull @NotNull Class<T> clazz, @NotNull @NotNull Map<String,String> options) throws ExportException
T
- the export typemodel
- the model classclazz
- the export typeoptions
- export optionsExportException
- if the export is not successful@NotNull @NotNull String getName()
Copyright © 2010 - 2020 Adobe. All Rights Reserved