Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 72317 invoked from network); 12 Feb 2009 13:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 13:42:04 -0000 Received: (qmail 81243 invoked by uid 500); 12 Feb 2009 13:41:34 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 81219 invoked by uid 500); 12 Feb 2009 13:41:34 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 81209 invoked by uid 99); 12 Feb 2009 13:41:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 05:41:34 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 13:41:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2265F23889C1; Thu, 12 Feb 2009 13:41:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743738 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java Date: Thu, 12 Feb 2009 13:41:12 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090212134113.2265F23889C1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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: * *
+ * - 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.
  * 
* * Same name sibling nodes and properties whose type cannot be unambiguously be