jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Trivial Update of "ApacheSling/SlingGuideDefaultMappings" by FelixMeschberger
Date Mon, 09 Jul 2007 14:37:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by FelixMeschberger:
http://wiki.apache.org/jackrabbit/ApacheSling/SlingGuideDefaultMappings

------------------------------------------------------------------------------
  In such a case of missing content mapping, a default {{{Content}}} mapping is defined in
the form of the {{{org.apache.sling.content.jcr.DefaultContent}}} class. This mapping has
the following features:
  
     * The {{{DefaultContent}}} class is a {{{java.util.Map}}}. Thus all properties may be
accessed using the familiar {{{Map}}} API.
-    * All non-protected properties of the node are loaded. Single value properties become
scalar objects, while multi value properties become {{java.util.List}}} objects.
+    * All non-protected properties of the node are loaded. Single value properties become
scalar objects, while multi value properties become {{{java.util.List}}} objects.
     * The types of the repository values are mapped according to the JCR specification for
mapping between Property types and Java types.
     * A few properties have special significance. See below.
     * Creating new instances of this class and inserting these into the repository creates
nodes of type {{{nt:unstructured}}}. When loading instances of this class the actual primary
type of the node does not matter.

Mime
View raw message