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