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