}
List result = new ArrayList();
IncrementObject incrementObject = null;
String identifier = null;
Integer increment = null;
ICSSNode cssValue = (ICSSNode) value;
while (cssValue != null) {
// find next idetifier.
while (cssValue != null && !CounterHelper.isIdentifier(cssValue)) {
cssValue = cssValue.getNextSibling();
}
if (cssValue == null) {
return null;
}
// identifier:
identifier = ((ICSSPrimitiveValue) value).getStringValue();
cssValue = cssValue.getNextSibling();
// value:
if (CounterHelper.isNumber(cssValue)) {
increment = new Integer((int) ((ICSSPrimitiveValue) value)
.getFloatValue(ICSSPrimitiveValue.CSS_INTEGER));
}