Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.io
Class VocabularyExporter

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.io.VocabularyExporter

public class VocabularyExporter
extends Object

Exports Vocabularies as translated SelectOptions

Since:
5.4.3
Author:
Tiry (tdelprat@nuxeo.com)

Constructor Summary
VocabularyExporter()
           
 
Method Summary
static net.sf.json.JSONArray exportToJson(DocumentModelList entries, String schema, String lang)
           
static net.sf.json.JSONObject exportToJson(WidgetSelectOption selectOption)
           
static net.sf.json.JSONArray getVocabulary(String dirName, String lang)
           
static net.sf.json.JSONArray getVocabulary(String dirName, String subDirName, String lang)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VocabularyExporter

public VocabularyExporter()
Method Detail

getVocabulary

public static net.sf.json.JSONArray getVocabulary(String dirName,
                                                  String lang)

getVocabulary

public static net.sf.json.JSONArray getVocabulary(String dirName,
                                                  String subDirName,
                                                  String lang)

exportToJson

public static net.sf.json.JSONObject exportToJson(WidgetSelectOption selectOption)

exportToJson

public static net.sf.json.JSONArray exportToJson(DocumentModelList entries,
                                                 String schema,
                                                 String lang)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.