Package org.imixs.workflow.engine
Class TextPropertyValueAdapter
java.lang.Object
org.imixs.workflow.engine.TextPropertyValueAdapter
The TextPropertyValueAdapter replaces text fragments with named system
property values.
- Author:
- rsoika
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns a formated a string object.void
This method reacts on CDI events of the type TextEvent and parses a string for xml tag.
-
Constructor Details
-
TextPropertyValueAdapter
public TextPropertyValueAdapter()
-
-
Method Details
-
onEvent
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.
-