Package | Description |
---|---|
org.apache.sling.models.factory |
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.