public class TextItemValueAdapter extends Object
| Constructor and Description |
|---|
TextItemValueAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatItemValues(List<?> aItem,
String aSeparator,
String sFormat)
this method formats a string object depending of an attribute type.
|
static String |
formatItemValues(List<?> aItem,
String aSeparator,
String sFormat,
Locale alocale)
this method formats a string object depending of an attribute type.
|
static String |
formatItemValues(List<?> aItem,
String aSeparator,
String sFormat,
Locale locale,
String sPosition)
This method returns a formated a string object.
|
void |
onEvent(TextEvent event)
This method reacts on CDI events of the type TextEvent and parses a string
for xml tag
|
public void onEvent(@Observes
TextEvent event)
hello $Creator
Item values can also be formated. e.g. for date/time values
Last access Time= $created
If the itemValue is a multiValue object the single values can be spearated by
a separator
Phone List: txtPhones
public static String formatItemValues(List<?> aItem, String aSeparator, String sFormat, Locale locale, String sPosition)
public static String formatItemValues(List<?> aItem, String aSeparator, String sFormat)
Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.