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