Class CountryCodeAdapter
java.lang.Object
org.imixs.workflow.office.textadapter.CountryCodeAdapter
The CountryCodeAdapter replaces country codes with a user specific country
name
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.imixs.workflow.engine.TextEvent event) Observer method for CDI TextEvetns to convert a country code into getDisplayCountry
-
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 getDisplayCountryExample:
<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-
-