// read the files
Iterator fileItr = artifactEle.getChildrenWithLocalName(Artifact.FILE);
while (fileItr.hasNext()) {
OMElement fileElement = (OMElement) fileItr.next();
CappFile tempFile = new CappFile();
tempFile.setName(fileElement.getText());
tempFile.setVersion(readAttribute(fileElement, Artifact.VERSION));
artifact.addFile(tempFile);
}
return artifact;
}