Class ConvertingPropertyVariableInterpolator

    • Field Summary

      • Fields inherited from class org.apache.wicket.util.string.interpolator.VariableInterpolator

        string
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String toString​(java.lang.Object value)
      Use an IConverter to convert the given value to a String.
      • 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

      • ConvertingPropertyVariableInterpolator

        public ConvertingPropertyVariableInterpolator​(java.lang.String string,
                                                      java.lang.Object object,
                                                      IConverterLocator locator,
                                                      java.util.Locale locale)
        Constructor.
        Parameters:
        string - a String to interpolate into
        object - the object to apply property expressions to
        locator - the locator of converters
        locale - the locale for conversion
    • Method Detail

      • toString

        protected java.lang.String toString​(java.lang.Object value)
        Use an IConverter to convert the given value to a String.
        Overrides:
        toString in class PropertyVariableInterpolator
        Parameters:
        value - the value, never null
        Returns:
        converted value