Class CountryCodeAdapter

java.lang.Object
org.imixs.workflow.office.textadapter.CountryCodeAdapter

public class CountryCodeAdapter extends Object
The CountryCodeAdapter replaces country codes with a user specific country name
Author:
rsoika
  • Constructor Details

    • CountryCodeAdapter

      public CountryCodeAdapter()
  • Method Details

    • onEvent

      public void onEvent(@Observes org.imixs.workflow.engine.TextEvent event)
      Observer method for CDI TextEvetns to convert a country code into getDisplayCountry

      Example: <countryname>company.country</countryname>

      Optional a locale can be provided to specify the target language Example: <countryname locale="de_DE">company.country</countryname>

      Parameters:
      event -