for (int i=0; i<attributes.getLength();i++) {
if (RuntimeTagNames.NAME.equals(attributes.getQName(i))) {
descriptor.setAttributeValue(CacheMapping.KEY_FIELD, CacheMapping.NAME, attributes.getValue(i));
} else
if (RuntimeTagNames.SCOPE.equals(attributes.getQName(i))) {
int index = descriptor.sizeKeyField();
descriptor.setAttributeValue(CacheMapping.KEY_FIELD, index-1, CacheMapping.SCOPE, attributes.getValue(i));
}
}
} else super.startElement(element, attributes);
}