* @param unit
* @return
*/
public Map createValues(LexicalUnit unit)
{
CSSValue optimum = parseSingleSpacingValue(unit);
if (optimum == null)
{
return null;
}
unit = unit.getNextLexicalUnit();
CSSValue minimum = parseSingleSpacingValue(unit);
if (minimum != null)
{
unit = unit.getNextLexicalUnit();
}
CSSValue maximum = parseSingleSpacingValue(unit);
final Map map = new HashMap();
map.put(getMinimumKey(), minimum);
map.put(TextStyleKeys.X_MAX_LETTER_SPACING, maximum);
map.put(TextStyleKeys.X_OPTIMUM_LETTER_SPACING, optimum);
return map;