Package de.xima.fc.form.common
Class XItemsDescriptor
- java.lang.Object
-
- de.xima.fc.form.common.XItemsDescriptor
-
public class XItemsDescriptor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description XItemsDescriptor()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static com.alibaba.fastjson.JSONObject
getItemDescription(Class<? extends IXItemBasic> clazz, IXFormRenderConfig xRenderConfig, Locale locale)
static com.alibaba.fastjson.JSONObject
getItemDescription(Class<? extends IXItemBasic> clazz, Locale locale)
Deprecated.static com.alibaba.fastjson.JSONObject
getItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale)
static com.alibaba.fastjson.JSONObject
getItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
static com.alibaba.fastjson.JSONArray
getItemsJson(IXFormRenderConfig xRenderConfig, Locale locale)
static com.alibaba.fastjson.JSONArray
getItemsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
static com.alibaba.fastjson.JSONArray
getWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale)
static com.alibaba.fastjson.JSONArray
getWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
-
-
-
Method Detail
-
getItemDescription
@Deprecated public static com.alibaba.fastjson.JSONObject getItemDescription(Class<? extends IXItemBasic> clazz, Locale locale)
Deprecated.- Parameters:
clazz
- The type of the form item.locale
- Current locale.- Returns:
- A JSON with the metadata for the given item.
-
getItemDescription
public static com.alibaba.fastjson.JSONObject getItemDescription(Class<? extends IXItemBasic> clazz, IXFormRenderConfig xRenderConfig, Locale locale)
- Parameters:
clazz
- The type of the form item.xRenderConfig
- Current render configuration.locale
- Current locale.- Returns:
- A JSON with the metadata for the given item.
-
getItemDescriptionJson
public static com.alibaba.fastjson.JSONObject getItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale)
-
getItemDescriptionJson
public static com.alibaba.fastjson.JSONObject getItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
-
getItemsJson
public static com.alibaba.fastjson.JSONArray getItemsJson(IXFormRenderConfig xRenderConfig, Locale locale)
-
getItemsJson
public static com.alibaba.fastjson.JSONArray getItemsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
-
getWidgetsJson
public static com.alibaba.fastjson.JSONArray getWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale)
-
getWidgetsJson
public static com.alibaba.fastjson.JSONArray getWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
-
-