org.wicketstuff.rest.utils.wicket.bundle
Class StringConverterInterpolator

java.lang.Object
  extended by org.apache.wicket.util.string.interpolator.VariableInterpolator
      extended by org.apache.wicket.util.string.interpolator.MapVariableInterpolator
          extended by org.wicketstuff.rest.utils.wicket.bundle.StringConverterInterpolator
All Implemented Interfaces:
Serializable, IClusterable

public class StringConverterInterpolator
extends MapVariableInterpolator

Utility class to convert strings to values and vice-versa. It relies on the Wicket converters registered for the current application.

Author:
andrea del bene
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.util.string.interpolator.VariableInterpolator
string
 
Constructor Summary
StringConverterInterpolator(String string, Map<?,?> variables, boolean exceptionOnNullVarValue, Locale locale)
           
 
Method Summary
 Locale getLocale()
           
protected  String getValue(String variableName)
           
 
Methods inherited from class org.apache.wicket.util.string.interpolator.MapVariableInterpolator
interpolate, setVariables
 
Methods inherited from class org.apache.wicket.util.string.interpolator.VariableInterpolator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConverterInterpolator

public StringConverterInterpolator(String string,
                                   Map<?,?> variables,
                                   boolean exceptionOnNullVarValue,
                                   Locale locale)
Method Detail

getValue

protected String getValue(String variableName)
Overrides:
getValue in class MapVariableInterpolator

getLocale

public Locale getLocale()


Copyright © 2013–2014. All rights reserved.