Class XItemRenderData.I18N

    • Constructor Detail

      • I18N

        public I18N()
    • 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 up
        defaultValue - - value to return if no translation was found
        Returns:
        translated value if found for the property. Else returns given default value
      • valueOf

        public String valueOf​(String property,
                              String defaultValue)
        Parameters:
        property - - property to look up
        defaultValue - - value to return if no translation was found
        Returns:
        translated value if found for the property. Else returns given default value