Package | Description |
---|---|
org.apache.sling.models.export.spi | |
org.apache.sling.models.factory |
Modifier and Type | Method and Description |
---|---|
<T> T |
ModelExporter.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.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ModelFactory.exportModel(java.lang.Object model,
java.lang.String exporterName,
java.lang.Class<T> targetClass,
java.util.Map<java.lang.String,java.lang.String> options)
Export the model object using the defined target class using the named exporter.
|
<T> T |
ModelFactory.exportModelForRequest(SlingHttpServletRequest request,
java.lang.String exporterName,
java.lang.Class<T> targetClass,
java.util.Map<java.lang.String,java.lang.String> options)
Export the model object registered to the request's resource's type using the defined target class using the named exporter.
|
<T> T |
ModelFactory.exportModelForResource(Resource resource,
java.lang.String exporterName,
java.lang.Class<T> targetClass,
java.util.Map<java.lang.String,java.lang.String> options)
Export the model object registered to the resource's type using the defined target class using the named exporter.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.