String function ( ) { Format loc0 = Format . getPrettyFormat ( ) ; XMLOutputter loc1 = new XMLOutputter ( loc0 ) ; return loc1 . outputString ( buildI18nXml ( ) ) ; }
build i18n resource xml in sling i18n message format . concode_field_sep String JCR_PRIMARY_TYPE concode_elem_sep Namespace NAMESPACE_NT concode_elem_sep String JCR_MIXIN_TYPES concode_elem_sep String SLING_KEY concode_elem_sep List<String> JCR_MIX_LANGUAGE concode_elem_sep String languageKey concode_elem_sep List<String> SLING_MESSAGE_MIXIN_TYPE concode_elem_sep Namespace NAMESPACE_SLING concode_elem_sep Namespace NAMESPACE_JCR concode_elem_sep String JCR_NODETYPE_FOLDER concode_elem_sep String SLING_MESSAGE concode_elem_sep String JCR_LANGUAGE concode_elem_sep Namespace NAMESPACE_MIX concode_elem_sep SortedMap<String,String> properties concode_field_sep JSONObject buildI18nJson concode_elem_sep JSONObject getMixLanguageJsonDocument concode_elem_sep String validName concode_elem_sep String getI18nJsonString concode_elem_sep JSONObject getJsonI18nValue concode_elem_sep Document buildI18nXml concode_elem_sep Document getMixLanguageXmlDocument concode_elem_sep Element getXmlI18nValue