atg.repository.search
Interface MetaPropertyFormatter
- All Known Implementing Classes:
- IndexingPropertyProvider
public interface MetaPropertyFormatter
Implementations of this interface can return a UI display name for the given MetaProperty and
Locale.
Typically the MetaPropertyProvider is also the MetaPropertyFormatter but this need not be the case.
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary |
java.lang.String |
formatDisplayName(MetaProperty pProperty,
java.util.Locale pLocale)
Provides a display name for the given property to allow display on a UI. |
CLASS_VERSION
static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
formatDisplayName
java.lang.String formatDisplayName(MetaProperty pProperty,
java.util.Locale pLocale)
- Provides a display name for the given property to allow display on a UI.
- Parameters:
pProperty
- MetaProperty to get the display name ofpLocale
- Optional Locale to format the name, may be null.
- Returns:
- String display name for the given property.