@Service public class JacksonExporter extends Object implements org.apache.sling.models.export.spi.ModelExporter
| Constructor and Description |
|---|
JacksonExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindModuleProvider(ModuleProvider moduleProvider,
Map<String,Object> props) |
<T> T |
export(Object model,
Class<T> clazz,
Map<String,String> options) |
String |
getName() |
boolean |
isSupported(Class<?> clazz) |
protected void |
unbindModuleProvider(ModuleProvider moduleProvider,
Map<String,Object> props) |
public boolean isSupported(@Nonnull Class<?> clazz)
isSupported in interface org.apache.sling.models.export.spi.ModelExporterpublic <T> T export(@Nonnull Object model, @Nonnull Class<T> clazz, @Nonnull Map<String,String> options) throws org.apache.sling.models.factory.ExportException
export in interface org.apache.sling.models.export.spi.ModelExporterorg.apache.sling.models.factory.ExportExceptionprotected void bindModuleProvider(ModuleProvider moduleProvider, Map<String,Object> props)
protected void unbindModuleProvider(ModuleProvider moduleProvider, Map<String,Object> props)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.