You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2009/02/12 14:41:12 UTC

svn commit: r743738 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java

Author: angela
Date: Thu Feb 12 13:41:11 2009
New Revision: 743738

URL: http://svn.apache.org/viewvc?rev=743738&view=rev
Log:
- JCR-1958: Enhanced JCR remoting (work in progress)

javadoc

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java?rev=743738&r1=743737&r2=743738&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java Thu Feb 12 13:41:11 2009
@@ -75,17 +75,22 @@
  * The JSON writer applies the following rules:
  * 
  * <pre>
+ * - Nodes are represented as JSON objects.
+ *
  * - Each Node has its properties included as JSON key/value pairs.
  *
- * - Child nodes are equally treated as long a maximal depths is not reached.
+ * - Single valued Properties are simple key/value pairs.
+ *
+ * - Multi valued Properties are represented as JSON array.
+ *
+ * - Each Node has its child nodes included as long a maximal depths is not reached.
  * 
  * - Nodes without any child nodes get a special JSON member named
  *   ::NodeIteratorSize, whose value is zero.
  *
  * - If the maximal depth is reached only name, index and unique id of the
  *   direct child are included (incomplete node info). In order to obtain
- *   the complete information another GET with .json extension will be sent
- *   by the client.
+ *   the complete information the client sends another GET with .json extension.
  * </pre>
  * 
  * Same name sibling nodes and properties whose type cannot be unambiguously be