atg.commerce.search
Class PriceMetaPropertyValueFormatter

java.lang.Object
  extended by atg.commerce.search.PriceMetaPropertyValueFormatter
All Implemented Interfaces:
MetaPropertyValueFormatter

public class PriceMetaPropertyValueFormatter
extends java.lang.Object
implements MetaPropertyValueFormatter

This implementation parse 'price' proprty into human readable string.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
PriceMetaPropertyValueFormatter()
           
 
Method Summary
 java.lang.String formatDisplayValue(MetaProperty pProperty, java.util.Locale pLocale, java.lang.String pValue)
          Format price refinement values depending on locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

PriceMetaPropertyValueFormatter

public PriceMetaPropertyValueFormatter()
Method Detail

formatDisplayValue

public java.lang.String formatDisplayValue(MetaProperty pProperty,
                                           java.util.Locale pLocale,
                                           java.lang.String pValue)
Format price refinement values depending on locale.

Specified by:
formatDisplayValue in interface MetaPropertyValueFormatter
Parameters:
pProperty - MetaProperty
pLocale - locale
pValue - value of property
Returns:
human readable representation for this property