Package de.xima.fc.form.common
Class XItemsDescriptor
java.lang.Object
de.xima.fc.form.common.XItemsDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.alibaba.fastjson.JSONObjectgetItemDescription(Class<? extends IXItemBasic> clazz, IXFormRenderConfig xRenderConfig, Locale locale) static com.alibaba.fastjson.JSONObjectgetItemDescription(Class<? extends IXItemBasic> clazz, Locale locale) Deprecated.static com.alibaba.fastjson.JSONObjectgetItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale) static com.alibaba.fastjson.JSONObjectgetItemDescriptionJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter) static com.alibaba.fastjson.JSONArraygetItemsJson(IXFormRenderConfig xRenderConfig, Locale locale) static com.alibaba.fastjson.JSONArraygetItemsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter) static com.alibaba.fastjson.JSONArraygetWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale) static com.alibaba.fastjson.JSONArraygetWidgetsJson(IXFormRenderConfig xRenderConfig, Locale locale, IFormItemFilter filter)
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
XItemsDescriptor
public XItemsDescriptor()
-
-
Method Details
-
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)
-
getItemDescription(Class, IXFormRenderConfig, Locale).