ManifestElement e = (ManifestElement) o;
e.onResume(context);
} else if(o instanceof Metadata) {
// Ignore
} else if(o instanceof PutHandler) {
PutHandler handler = (PutHandler) o;
handler.onResume(context);
} else if(o instanceof ManifestElement) {
((ManifestElement)o).onResume(context);
} else throw new IllegalArgumentException("Unknown manifest element: "+o);
}
}