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