Package | Description |
---|---|
org.apache.sling.models.export.spi | |
org.apache.sling.models.factory |
Modifier and Type | Method and Description |
---|---|
<T> T |
ModelExporter.export(@NotNull java.lang.Object model,
@NotNull java.lang.Class<T> clazz,
@NotNull 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(@NotNull java.lang.Object model,
@NotNull java.lang.String exporterName,
@NotNull java.lang.Class<T> targetClass,
@NotNull 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(@NotNull SlingHttpServletRequest request,
@NotNull java.lang.String exporterName,
@NotNull java.lang.Class<T> targetClass,
@NotNull 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(@NotNull Resource resource,
@NotNull java.lang.String exporterName,
@NotNull java.lang.Class<T> targetClass,
@NotNull 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 © 2022 The Apache Software Foundation. All rights reserved.