Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.util
Class JSonHelper

java.lang.Object
  extended by org.nuxeo.ecm.webengine.util.JSonHelper

public class JSonHelper
extends Object

Author:
Bogdan Stefanescu

Method Summary
static net.sf.json.JSONArray asJSON(DocumentModelList docList)
           
static net.sf.json.JSONObject doc2JSon(DocumentModel doc)
           
static net.sf.json.JSONObject doc2JSon(DocumentModel doc, String... schemas)
           
static net.sf.json.JSONArray getChildrenList(DocumentModel doc)
           
static String toChildrenList(DocumentModel doc)
           
static String toJSon(DocumentModel doc)
           
static String toJSon(DocumentModel doc, String... schemas)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toJSon

public static String toJSon(DocumentModel doc)

toChildrenList

public static String toChildrenList(DocumentModel doc)

asJSON

public static net.sf.json.JSONArray asJSON(DocumentModelList docList)

getChildrenList

public static net.sf.json.JSONArray getChildrenList(DocumentModel doc)

toJSon

public static String toJSon(DocumentModel doc,
                            String... schemas)

doc2JSon

public static net.sf.json.JSONObject doc2JSon(DocumentModel doc)

doc2JSon

public static net.sf.json.JSONObject doc2JSon(DocumentModel doc,
                                              String... schemas)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.