Attribute attrs [] = resource.getAttributes();
Vector vattrs = new Vector(10);
for (int j = 0 ; j < attrs.length ; j++) {
Object value = resource.getValue(j, null);
if (value instanceof ResourceFrame[]) {
ResourceFrame frames[] = (ResourceFrame[])value;
int len = frames.length;
ResourceDescription descr[] = new ResourceDescription[len];
for (int i = 0 ; i < len ; i++)
descr[i] = new ResourceDescription(frames[i]);
vattrs.addElement(new AttributeDescription(attrs[j],