public class DDMFormLayoutFactoryHelper
extends java.lang.Object
Constructor and Description |
---|
DDMFormLayoutFactoryHelper(java.lang.Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectResourceBundles(java.lang.Class<?> clazz,
java.util.List<java.util.ResourceBundle> resourceBundles,
java.util.Locale locale) |
DDMFormLayout |
createDDMFormLayout() |
protected DDMFormLayoutColumn |
createDDMFormLayoutColumn(DDMFormLayoutColumn ddmFormLayoutColumnAnnotation) |
protected DDMFormLayoutPage |
createDDMFormLayoutPage(DDMFormLayoutPage ddmFormLayoutPageAnnotation) |
protected LocalizedValue |
createDDMFormLayoutPageTitle(java.lang.String title) |
protected DDMFormLayoutRow |
createDDMFormLayoutRow(DDMFormLayoutRow ddmFormLayoutRowAnnotation) |
protected java.lang.String |
extractLanguageKey(java.lang.String value) |
protected LocalizedValue |
getDDMFormLayoutPageTitle(java.lang.String title) |
protected java.lang.String |
getLocalizedValue(java.util.Locale locale,
java.lang.String value) |
protected java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale) |
protected boolean |
isLocalizableValue(java.lang.String value) |
protected void |
setDefaultLocale() |
public DDMFormLayoutFactoryHelper(java.lang.Class<?> clazz)
public DDMFormLayout createDDMFormLayout()
protected void collectResourceBundles(java.lang.Class<?> clazz, java.util.List<java.util.ResourceBundle> resourceBundles, java.util.Locale locale)
protected DDMFormLayoutColumn createDDMFormLayoutColumn(DDMFormLayoutColumn ddmFormLayoutColumnAnnotation)
protected DDMFormLayoutPage createDDMFormLayoutPage(DDMFormLayoutPage ddmFormLayoutPageAnnotation)
protected LocalizedValue createDDMFormLayoutPageTitle(java.lang.String title)
protected DDMFormLayoutRow createDDMFormLayoutRow(DDMFormLayoutRow ddmFormLayoutRowAnnotation)
protected java.lang.String extractLanguageKey(java.lang.String value)
protected LocalizedValue getDDMFormLayoutPageTitle(java.lang.String title)
protected java.lang.String getLocalizedValue(java.util.Locale locale, java.lang.String value)
protected java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
protected boolean isLocalizableValue(java.lang.String value)
protected void setDefaultLocale()