com.endeca.portal.attributes.viewmodel
Interface AttributeKeyConverter
- All Known Implementing Classes:
- CollectionBaseView, SemanticView
public interface AttributeKeyConverter
Method Summary |
java.lang.String |
getDefaultKey(java.lang.String attributeKey)
Function to get the default locale attribute key for the given attribute key. |
java.lang.String |
getLocalizedKey(java.lang.String attributeKey,
java.util.Locale locale)
Function to get the locale specific attribute key for the given attribute key and locale. |
getLocalizedKey
java.lang.String getLocalizedKey(java.lang.String attributeKey,
java.util.Locale locale)
- Function to get the locale specific attribute key for the given attribute key and locale.
If there is no separate locale specific attribute key, it returns the original attribute key
- Parameters:
attributeKey
- locale
-
- Returns:
getDefaultKey
java.lang.String getDefaultKey(java.lang.String attributeKey)
- Function to get the default locale attribute key for the given attribute key.
If there is no separate default locale attribute key, it returns the original attribute key
- Parameters:
attributeKey
-
- Returns: