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] Update of "Jsop" by ThomasMueller
Date Wed, 30 Nov 2011 08:20:56 GMT
Dear Wiki user,

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

The "Jsop" page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/Jsop?action=diff&rev1=11&rev2=12

  SET      ::= "^" STRING ":" ATOM | ARRAY
  REMOVE   ::= "-" STRING
  MOVE     ::= ">" STRING ":" (STRING | "{" STRING ":" STRING "}")
+ METADATA ::= "@" OBJECT
  
  // JSON
  OBJECT   ::= "{" (PAIR ("," PAIR)*)? "}"
@@ -91, +92 @@

   * moveNodeDiff
   * removeNodeDiff
   * removePropertyDiff
+  * metaData
  
- A diff line can contain the information about adding nodes (possibly multiple nested nodes),
adding a property to a node, setting a property, moving a node, or removing a node or property.
+ A diff line can contain the information about adding nodes (possibly multiple nested nodes),
adding a property to a node, setting a property, moving a node, or removing a node or property.
There is a special metadata diff line.
  
  '''addNodeDiff:'''
   * + pathString: object
@@ -127, +129 @@

   * false
  
  A property value can be any value, except for a object itself.
-   
+ 
+ '''metaData:'''
+  * @ object
+ 
+ The metadata line contains metadata about the following diff lines. Metadata typically includes
the timestamp (when did the change occur),
+ the user, the commit message. A jsop object can contain multiple metadata lines. It depends
on the implementation whether or not metadata is used, and how it is used.
+ 
  '''object:'''
   * {}
   * { members }

Mime
View raw message