* @return The value as a string.
*/
protected String getArgumentAsString(
String functionName, List arguments, int index) {
StyleValue value = (StyleValue) arguments.get(index);
StyleString string = null;
if (value instanceof StyleString) {
string = (StyleString) value;
} else {
unexpectedType(functionName, index, StyleValueType.STRING,
value);
}
return string.getString();
}