Class TextPropertyValueAdapter

java.lang.Object
org.imixs.workflow.engine.TextPropertyValueAdapter

public class TextPropertyValueAdapter extends Object
The TextPropertyValueAdapter replaces text fragments with named system property values.
Author:
rsoika
  • Constructor Details

    • TextPropertyValueAdapter

      public TextPropertyValueAdapter()
  • Method Details

    • onEvent

      public void onEvent(@Observes TextEvent event)
      This method reacts on CDI events of the type TextEvent and parses a string for xml tag . Those tags will be replaced with the corresponding system property value.
    • formatItemValues

      public String formatItemValues(List<?> aItem, String aSeparator, String sFormat, Locale locale, String sPosition)
      This method returns a formated a string object. In case a Separator is provided, multiValues will be separated by the provided separator. If no separator is provide, only the first value will returned. The format and locale attributes can be used to format number and date values.