Collection valueCollection = (Collection) object;
for (Object value : valueCollection) {
if (result.length() > 0) {
result += "|"; //$NON-NLS-1$
}
String convertedValue = displayConverter
.canonicalToDisplayValue(value).toString();
if (convertedValue.isEmpty()) {
// for an empty String add the regular expression for empty
// String
convertedValue = "^$"; //$NON-NLS-1$