}
if (v == ACCUMULATE_VALUE) {
return (ImmutableValue)v;
}
ImmutableValueList list = new ImmutableValueList(' ');
list.append(new CSSOMValue(this, (ImmutableValue)v));
for (int i = 0; i < 4; i++) {
lu = lu.getNextLexicalUnit();
if (lu == null){
if (i == 0) {
return list;
}
throw CSSDOMExceptionFactory.createDOMException
(DOMException.INVALID_ACCESS_ERR,
"unexpected.end.of.list",
new Object[] { getPropertyName() });
}
list.append(new CSSOMValue(lengthFactory,
lengthFactory.createValue(lu)));
}
return list;
default:
throw CSSDOMExceptionFactory.createDOMException