org.pentaho.platform.util.beans
Class AlternateIndexFormatter

java.lang.Object
  extended by org.pentaho.platform.util.beans.AlternateIndexFormatter
All Implemented Interfaces:
PropertyNameFormatter

public class AlternateIndexFormatter
extends Object
implements PropertyNameFormatter

Converts to a bean utils consumable expression and applies other customizations as necessary, such as suffix additions.


Constructor Summary
AlternateIndexFormatter()
           
 
Method Summary
 String format(String name)
          Format the name to match the bean property name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternateIndexFormatter

public AlternateIndexFormatter()
Method Detail

format

public String format(String name)
Description copied from interface: PropertyNameFormatter
Format the name to match the bean property name.

Specified by:
format in interface PropertyNameFormatter
Parameters:
name - the name to translate into the property name
Returns:
the property name to match the bean