public final class XPFEntityUtil extends Object
| Modifier | Constructor and Description |
|---|---|
private |
XPFEntityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<XPFAttributeValue> |
getAttributeValueByKey(String key,
Locale locale,
Map<Locale,Map<String,XPFAttributeValue>> attributeValues)
Returns the attribute value with the passed key (case insensitive match) and locale.
|
public static Optional<XPFAttributeValue> getAttributeValueByKey(String key, Locale locale, Map<Locale,Map<String,XPFAttributeValue>> attributeValues)
key - the attribute keylocale - the attribute value localeattributeValues - the map of attribute values keyed by locale and then by attribute keyCopyright © 2000–2021 Elastic Path Software, Inc. All rights reserved.