This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new f0379de  clarify the location of the Jackson Exporter
f0379de is described below

commit f0379de1920b8265f627e6d10620b1fea045ba06
Author: Konrad Windszus <[email protected]>
AuthorDate: Thu Jun 6 08:38:20 2019 +0200

    clarify the location of the Jackson Exporter
    
    add link to Sling Models Use Provider
---
 src/main/jbake/content/documentation/bundles/models.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/jbake/content/documentation/bundles/models.md 
b/src/main/jbake/content/documentation/bundles/models.md
index f5549b2..411cc0a 100644
--- a/src/main/jbake/content/documentation/bundles/models.md
+++ b/src/main/jbake/content/documentation/bundles/models.md
@@ -109,6 +109,9 @@ Since Sling Models 1.2.0 there is another way of 
instantiating models. The OSGi
 
 In addition `ModelFactory` provides methods for checking whether a given class 
is a model at all (having the model annotation) or whether a class can be 
adapted from a given adaptable.
 
+## Usage in HTL
+[Sling Models Use 
Provider](../scripting/scripting-htl.html#sling-models-use-provider) 
(internally uses the `ModelFactory` from above).
+
 # Other Options
 ## Names
 If the field or method name doesn't exactly match the property name, `@Named` 
can be used:
@@ -495,8 +498,9 @@ programatically exported by calling the `ModelFactory` 
method `exportModel()`. T
 * a target class
 * a map of options
 
-The exact semantics of the exporting will be determined by an implementation 
of the `ModelExporter` service interface. Sling Models 
-currently includes a single exporter, using the Jackson framework, which is 
capable of serializing models as JSON or transforming them to `java.util.Map` 
objects.
+The exact semantics of the exporting will be determined by an implementation 
of the `ModelExporter` service interface. 
+
+Sling Models currently includes a single exporter, using the Jackson 
framework, which is capable of serializing models as JSON or transforming them 
to `java.util.Map` objects. It is included in a dedicated bundle with the 
symbolic name 
[`org.apache.sling.models.jacksonexporter`](https://github.com/apache/sling-org-apache-sling-models-jacksonexporter).
 
 In addition, model objects can have servlets automatically registered for 
their resource type (if it is set) using the `@Exporter` annotation. For 
example, a model class with the annotation
 

Reply via email to