org.nuxeo.ecm.platform.forms.layout.io
Class VocabularyExporter
java.lang.Object
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)
VocabularyExporter
public VocabularyExporter()
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.