* @throws IOException if the manifest can not be found
* @throws ParseException if the parsing process failed
*/
private void parse(Bundle bundle, String components) throws IOException, ParseException {
ManifestMetadataParser parser = new ManifestMetadataParser();
parser.parseHeader(components);
// Get the component type declaration
Element[] metadata = parser.getComponentsMetadata();
for (int i = 0; i < metadata.length; i++) {
handleTypeDeclaration(bundle, metadata[i]);