throw new FileNotFoundException(inputFile.getName() + " Does not exists!");
}
boolean foundTitleMetaTag = false;
root = new SongXMLHeaderTag();
MetaHeaderTag meta = new MetaHeaderTag();//((MetaHeaderTag) root.getContent().get(0));
BodyHeaderTag body = new BodyHeaderTag();//((BodyHeaderTag) root.getContent().get(1));
root.add(meta);
root.add(body);
HouseTag currentHouse = new HouseTag(1);
body.add(currentHouse);
for (ABCSongTagSimple tag : metaData) {
if (tag instanceof TitleTag) {
foundTitleMetaTag = true;
}
meta.add(tag);
}
if (!foundTitleMetaTag) {
throw new MissingTitleTagException("Initialization list for songXMLHolder must contain a TitleTag!");
}