@ConsumerType
public interface ModelExporter
| Modifier and Type | Method and Description |
|---|---|
<T> T |
export(java.lang.Object model,
java.lang.Class<T> clazz,
java.util.Map<java.lang.String,java.lang.String> options)
Export the provided model to the defined class using the options.
|
java.lang.String |
getName()
The name of the exporter.
|
boolean |
isSupported(java.lang.Class<?> clazz)
Check if the result class is supported by this exporter.
|
boolean isSupported(@Nonnull
java.lang.Class<?> clazz)
clazz - the result class@CheckForNull
<T> T export(@Nonnull
java.lang.Object model,
@Nonnull
java.lang.Class<T> clazz,
@Nonnull
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@Nonnull java.lang.String getName()
Copyright © 2018 The Apache Software Foundation. All rights reserved.