Class DefaultObjectRenderer

java.lang.Object
nz.org.riskscape.engine.i18n.DefaultObjectRenderer

public class DefaultObjectRenderer extends Object

Helper to render Problems for display to users, i.e. converting the i18n code to a user-friendly string.

  • Constructor Details

    • DefaultObjectRenderer

      public DefaultObjectRenderer(nz.org.riskscape.engine.i18n.Messages messages)
  • Method Details

    • render

      public String render(Object object)

      Renders a RiskScape object into a user-friendly, translatable String format, suitable for output.

    • render

      public String render(Object object, Locale locale)