Package de.xima.fc.form.common.models
Class XItemRenderData.I18N
- java.lang.Object
-
- de.xima.fc.form.common.models.XItemRenderData.I18N
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- XItemRenderData
public class XItemRenderData.I18N extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description I18N()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatasource()
String
getErrorMessageForDataTypeRegExp()
String
getHelpText()
String
getPlaceholder()
String
getPlaceholderHtmlAttrString()
String
getTitle()
String
getTitleHtmlAttrString()
String
valueOf(XPropertyEnum xPropertyEnum)
String
valueOf(XPropertyEnum xPropertyEnum, String defaultValue)
String
valueOf(String property, String defaultValue)
-
-
-
Method Detail
-
getDatasource
public String getDatasource()
-
getHelpText
public String getHelpText()
- Returns:
- the internationalized value for the property helptext
-
getTitle
public String getTitle()
- Returns:
- the internationalized value for the property title
-
getTitleHtmlAttrString
public String getTitleHtmlAttrString()
- Returns:
- the HTML attribute encoded internationalized value for the property title
-
getPlaceholder
public String getPlaceholder()
- Returns:
- the internationalized value for the property placeholder
-
getPlaceholderHtmlAttrString
public String getPlaceholderHtmlAttrString()
- Returns:
- the HTML attribute encoded internationalized value for the property placeholder
-
getErrorMessageForDataTypeRegExp
public String getErrorMessageForDataTypeRegExp()
- Returns:
- the internationalized value for the property vrulemismatch
-
valueOf
public String valueOf(XPropertyEnum xPropertyEnum)
- Parameters:
xPropertyEnum
- - property to look up- Returns:
- the value of the property
-
valueOf
public String valueOf(XPropertyEnum xPropertyEnum, String defaultValue)
- Parameters:
xPropertyEnum
- - property to look updefaultValue
- - value to return if no translation was found- Returns:
- translated value if found for the property. Else returns given default value
-
-